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

make fails with injector.c:817:2: error: impossible constraint in ‘asm’ #64

Open
traumschule opened this issue Aug 28, 2018 · 1 comment

Comments

@traumschule
Copy link

Did not spend a deeper look:

sandsifter$ make
cc  -c injector.c -o injector.o -Wall
injector.c:321:93: warning: excess elements in array initializer
  .start={.bytes={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, .len=0},                                                                    
                                                                                             ^~~~
injector.c:321:93: note: (near initialization for ‘total_range.start.bytes’)
injector.c:322:91: warning: excess elements in array initializer
  .end={.bytes={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}, .len=0},                                                                      
                                                                                           ^~~~
injector.c:322:91: note: (near initialization for ‘total_range.end.bytes’)
injector.c: In function ‘inject’:
injector.c:817:2: warning: asm operand 7 probably doesn’t match constraints
  __asm__ __volatile__ ("\
  ^~~~~~~
injector.c:817:2: error: impossible constraint in ‘asm’
make: *** [Makefile:38: injector.o] Error 1
sandsifter$ su -c "./sifter.py --unk --dis --len --sync --tick -- -P1 -t"
Password:
Traceback (most recent call last):
  File "./sifter.py", line 16, in <module>
    from capstone import *
ImportError: No module named capstone
@Xiretza
Copy link

Xiretza commented Aug 29, 2018

dupe of #5, #40

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

2 participants