-
Notifications
You must be signed in to change notification settings - Fork 205
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
Having trouble compiling (jump-patch.h) #24
Comments
yeah, that looks broken, sorry. I haven't touched this codebase in quite a while. I think it might work to change it to struct assemble_ctx actx = {codep, *codep, pc, arch.pc_low_bit, 0xe}; |
Hey, that seems to have worked! Ended up getting this after throwing that
line in:
Undefined symbols for architecture arm64:
"__dyld_get_all_image_infos", referenced from:
_inspect_dyld in find-syms.o
_substitute_dlopen_in_pid in inject.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [out/libsubstitute.dylib] Error 1
I'm gonna play around some more and see if I can fix it, will update if
anything happens. Thanks again!
…On Tue, Jan 30, 2018 at 3:09 PM, comex ***@***.***> wrote:
yeah, that looks broken, sorry. I haven't touched this codebase in quite a
while.
I think it might work to change it to
struct assemble_ctx actx = {codep, *codep, pc, arch.pc_low_bit, 0xe};
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhTdSNmMeuanSrEWpKa32KWvrwvyAyXSks5tP3a4gaJpZM4Ryw0U>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there. I'm playing around with this and I'm unable to get it to finish. The error it leaves me with is:
In file included from ./lib/hook-functions.c:7:
./lib/arm/jump-patch.h:17:40: error: incompatible integer to pointer conversion
initializing 'void *' with an expression of type 'uint_tptr'
(aka 'unsigned int') [-Werror,-Wint-conversion]
struct assemble_ctx actx = {codep, pc, arch.pc_low_bit, 0xe};
_________________________________________^~
1 error generated.
Thanks for the cool stuff!
edit: disregard the underscores, needed them for the symbols to stay in place
The text was updated successfully, but these errors were encountered: