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

read elf files without symbole table #13

Open
Flo354 opened this issue May 17, 2015 · 4 comments
Open

read elf files without symbole table #13

Flo354 opened this issue May 17, 2015 · 4 comments

Comments

@Flo354
Copy link

Flo354 commented May 17, 2015

Hi,

I made some modifications to your tool. Bellow, the changelist

  • The tool is now able to parse elf files without symbol table.
  • The printf of libbase are now redirected into android logs (tag "LIBHOOK")
  • New makefile to reduce the number of commands

The fork is available here : https://github.com/Flo354/adbi

@jduck
Copy link
Collaborator

jduck commented May 17, 2016

Please send a clean PR!

@jduck
Copy link
Collaborator

jduck commented May 17, 2016

BTW, what is the motivation for doing this anyway? I totally get the idea to log to Android's logging system, but why parse elf files without symbol tables?? Why not use the Android.mk build method via the NDK's "ndk-build" command??

@jduck
Copy link
Collaborator

jduck commented May 17, 2016

Honestly I see multiple PR here:

  1. converting the README into proper markdown
  2. implementing a different log() mechanism using __android_log_print
    NOTE: PR 2 should not interfere with the existing method and so should be guarded by some ifdef or similar

The rest of the changes are questionable and therefore need more explanation before they can be considered for inclusion.

@Flo354
Copy link
Author

Flo354 commented May 17, 2016

Hi,

1 year after :p I had totally forgotten that pull request.

To answer your question about the parsing of elf files without symbol tables, it's quite simple. I had to audit an application one year ago and I could not use adbi since the application stripped the symbol table to make the reverse engineering more difficult.
So I made this modification at first, and then the log mechanism after.

I will do the modifications as soon as possible, since I have my finals soon.

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