WIP unpacking ELF shared library
modified: Makefile modified: lzma-sdk modified: p_lx_elf.cpp modified: p_lx_elf.h modified: p_mach.cpp modified: p_unix.cpp modified: p_unix.h modified: packer.cpp modified: packer.h modified: stub/arm64-linux.elf-fold.h modified: stub/src/arm64-linux.elf-fold.S modified: stub/tmp/arm64-linux.elf-fold.map
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
fd6837b267
commit
23f63e4196
+4
-2
@@ -629,8 +629,10 @@ int Packer::patchPackHeader(void *b, int blen) {
|
||||
return boff;
|
||||
}
|
||||
|
||||
bool Packer::getPackHeader(void *b, int blen, bool allow_incompressible) {
|
||||
if (!ph.fillPackHeader((unsigned char *) b, blen))
|
||||
|
||||
bool Packer::getPackHeader(void const *b, int blen, bool allow_incompressible)
|
||||
{
|
||||
if (!ph.fillPackHeader((unsigned char const *)b, blen))
|
||||
return false;
|
||||
|
||||
if (ph.version > getVersion())
|
||||
|
||||
Reference in New Issue
Block a user