Test about the x86_64 payload injection fails
smic opened this issue · 3 comments
It looks like the tests doesn't run through. "x86_64 target should be injected with x86_64 payload" fails.
I have Sierra 10.12.1 (16B2555) installled.
$ rake test
Password:
Begin spec <task_vaccine>
Target: 33098
Hello from [33098]
✓ i386 target should be injected with i386 payload
Target: 33099
Hello from [33099]
✓ i386 target should be injected with FAT payload
Target: 33100
✓ i386 target should NOT be injected with x86_64 payload
Target: 33101
* [./tests/tests.c, L82]
| expected err toBe(KERN_SUCCESS) -> 0
| got err is(16)
𝙓 x86_64 target should be injected with x86_64 payload
Target: 33102
* [./tests/tests.c, L88]
| expected err toBe(KERN_SUCCESS) -> 0
| got err is(16)
𝙓 x86_64 target should be injected with FAT payload
Target: 33103
✓ x86_64 target should NOT be injected with i386 payload
Done spec: 10 of 12 tests passed
Yay, thanks for reporting this, @smic! I'm not sure I'll be able to take a look into this in the near future (don't use this library myself anymore) but I'd be happy to merge a PR.
@tiagosiebler @smic did you guys were able to inject into 64 bit apps?, i'm getting weird results here.