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

Test about the x86_64 payload injection fails #15

Open
smic opened this issue Nov 2, 2016 · 3 comments
Open

Test about the x86_64 payload injection fails #15

smic opened this issue Nov 2, 2016 · 3 comments

Comments

@smic
Copy link

smic commented Nov 2, 2016

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

@rodionovd
Copy link
Owner

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
Copy link

@smic Hey, did you get this working with 64bit targets / make any progress? I'm seeing it weirdly fail (#16) when the target isn't launched through xcode, else it works fine. Thanks!

@subzerov
Copy link

@tiagosiebler @smic did you guys were able to inject into 64 bit apps?, i'm getting weird results here.

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

No branches or pull requests

4 participants