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

Trace/breakpoint trap on UserLAnd (Android App) #17

Closed
TheOiseth opened this issue Apr 28, 2022 · 1 comment
Closed

Trace/breakpoint trap on UserLAnd (Android App) #17

TheOiseth opened this issue Apr 28, 2022 · 1 comment

Comments

@TheOiseth
Copy link
Contributor

I installed UserLand (v2.7.3) on my android phone, lxde desktop. Target process after injection fails with an error "Trace/breakpoint trap". Arch: aarch64, linux kernel version 3.18.71

@kubo kubo changed the title Trace/breakpoint trap Trace/breakpoint trap on UserLAnd (Android App) Apr 30, 2022
@kubo
Copy link
Owner

kubo commented Apr 30, 2022

Though I don't have Android suitable to run UserLAnd and I have not investigated it, I guest that injector doesn't work on it.
That's because:

  1. UserLAnd uses PRoot to trap system calls.
  2. PRoot uses ptrace.
  3. Injector also uses ptrace.
  4. Only one process can trace a process. However two processes try to trace the target process. I guess that injector loses.

If this issue is fixed, injector would work. Otherwise, it doesn't.

@kubo kubo closed this as completed Apr 30, 2022
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