Fix compression and de-compression of Android shared libraries
Handle relocation (and DT_INIT_ARRAY[0]==NULL) when !DT_INIT. Warn about missing --android-shlib if (ET_DYN && !DF_1_PIE && Arm*). modified: p_lx_elf.cpp modified: p_lx_elf.h https://github.com/upx/upx/issues/265 https://github.com/upx/upx/issues/262 https://github.com/upx/upx/issues/259 https://github.com/upx/upx/issues/243 https://github.com/upx/upx/issues/229 https://github.com/upx/upx/issues/220
This commit is contained in:
+2
-1
@@ -268,7 +268,8 @@ protected:
|
||||
virtual void pack4(OutputFile *, Filter &); // append pack header
|
||||
virtual void unpack(OutputFile *fo);
|
||||
virtual void unRela64(upx_uint64_t dt_rela, Elf64_Rela *rela0, unsigned relasz,
|
||||
MemBuffer &membuf, upx_uint64_t const load_off, OutputFile *fo);
|
||||
MemBuffer &membuf, upx_uint64_t const load_off, upx_uint64_t const old_dtinit,
|
||||
OutputFile *fo);
|
||||
|
||||
virtual void generateElfHdr(
|
||||
OutputFile *,
|
||||
|
||||
Reference in New Issue
Block a user