We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi ,
I am getting the below error when building the project.Please help on this below error.
D:/dummy_data/adbi_master/hijack/jni/../hijack.c:529:76: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if ((*p = ptrace(PTRACE_PEEKTEXT, pid, (void )(pos+(i4)), (void *)*p)) < 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ D:/dummy_data/adbi_master/hijack/jni/../hijack.c:764:11: error: use of undeclared identifier 'PTRACE_GETREGS' ptrace(PTRACE_GETREGS, pid, 0, ®s); ^ D:/dummy_data/adbi_master/hijack/jni/../hijack.c:792:9: error: use of undeclared identifier 'PTRACE_GETREGS' ptrace(PTRACE_GETREGS, pid, 0, ®s); ^ D:/dummy_data/adbi_master/hijack/jni/../hijack.c:873:9: error: use of undeclared identifier 'PTRACE_SETREGS' ptrace(PTRACE_SETREGS, pid, 0, ®s); ^ 2 warnings and 3 errors generated.
The text was updated successfully, but these errors were encountered:
Create ./jni/Application.mk file and put this content APP_ABI := armeabi
It works for me.
Sorry, something went wrong.
No branches or pull requests
Hi ,
I am getting the below error when building the project.Please help on this below error.
D:/dummy_data/adbi_master/hijack/jni/../hijack.c:529:76: warning: comparison of unsigned expression < 0 is always false
[-Wtautological-compare]
if ((*p = ptrace(PTRACE_PEEKTEXT, pid, (void )(pos+(i4)), (void *)*p)) < 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
D:/dummy_data/adbi_master/hijack/jni/../hijack.c:764:11: error: use of undeclared identifier 'PTRACE_GETREGS'
ptrace(PTRACE_GETREGS, pid, 0, ®s);
^
D:/dummy_data/adbi_master/hijack/jni/../hijack.c:792:9: error: use of undeclared identifier 'PTRACE_GETREGS'
ptrace(PTRACE_GETREGS, pid, 0, ®s);
^
D:/dummy_data/adbi_master/hijack/jni/../hijack.c:873:9: error: use of undeclared identifier 'PTRACE_SETREGS'
ptrace(PTRACE_SETREGS, pid, 0, ®s);
^
2 warnings and 3 errors generated.
The text was updated successfully, but these errors were encountered: