Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inlinegas rnd.h error #27

Open
AgeloVito opened this issue Apr 2, 2023 · 2 comments
Open

inlinegas rnd.h error #27

AgeloVito opened this issue Apr 2, 2023 · 2 comments

Comments

@AgeloVito
Copy link

1.got the inline head file
python3 syswhispers.py --functions test,test -l inlinegas -o syscalls
2.include the file
syscallsinline.rnd.x64.h
3.complie
x86_64-w64-mingw32-gcc -w -o test.x64.o -c testc -DRANDSYSCALL -masm=intel

when i compile,i got this error

syscalls.h:260:9: error: missing terminating " character
260 | asm(".intel_syntax noprefix
| ^~~~~~~~~~~~~~~~~~~~~~~
syscalls.h:261:5: error: expected string literal before '.' token
261 | .global WhisperMain
| ^
syscalls.h:287:5: error: missing terminating " character

image

@odzhan
Copy link
Collaborator

odzhan commented Apr 3, 2023

@xenoscr A new line and double quote is missing for each instruction. I'd update the Python code, but think you're the best person to fix at the moment.

@xenoscr
Copy link
Contributor

xenoscr commented Dec 7, 2023

I do apologize, I will take a look at this soon @odzhan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants