elf-dump-fix icon indicating copy to clipboard operation
elf-dump-fix copied to clipboard

Utils use to dump android ELF from memory and do some fix including the ELF section header rebuilding

Results 2 elf-dump-fix issues
Sort by recently updated
recently updated
newest added

我在dump一个app,其中一个so是加固的,dump后fix报错,能帮忙看下么?想还原脱壳后的so用于自己加载: 05056000-050da000 r--p 00056000 08:12 524811 /data/app/com.zhpphls.hema-2/lib/arm/libpp_hls.so 050da000-050db000 r--p 000d9000 08:12 524811 /data/app/com.zhpphls.hema-2/lib/arm/libpp_hls.so 050db000-051be000 rw-p 000da000 08:12 524811 /data/app/com.zhpphls.hema-2/lib/arm/libpp_hls.so 051be000-05375000 r--p 00000000 00:00 0 aosp:/data/local/tmp # ./dump 3082 0x04f23000 0x05375000...

The shared library fixed by `elf-dump-fix` is failling the Android 13 linker's [ElfReader::ReadSectionHeaders()][1]. The section headers offset should be aligned https://github.com/maiyao1988/elf-dump-fix/blob/13f5301cbb3f653869bcddad7525e07c789434a1/app/jni/ElfFixSection/fix.cpp#L540-L541 [1]: https://android.googlesource.com/platform/bionic/+/refs/heads/android13-dev/linker/linker_phdr.cpp#360