Check when optimizeRelocs()
https://github.com/upx/upx/issues/513 modified: packer.h modified: packer.cpp modified: pefile.cpp modified: p_wcle.cpp modified: p_tmt.cpp
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
be23f93ee6
commit
ea567a8b14
+15
-8
@@ -269,15 +269,22 @@ protected:
|
||||
void checkPatch(void *b, int blen, int boff, int size);
|
||||
|
||||
// relocation util
|
||||
static upx_byte *optimizeReloc(upx_byte *in, unsigned relocnum, upx_byte *out, upx_byte *image,
|
||||
int bs, int *big, int bits);
|
||||
static unsigned unoptimizeReloc(upx_byte **in, upx_byte *image, MemBuffer *out, int bs,
|
||||
int bits);
|
||||
static upx_byte *optimizeReloc32(upx_byte *in, unsigned relocnum, upx_byte *out,
|
||||
upx_byte *image, int bs, int *big);
|
||||
static upx_byte *optimizeReloc(
|
||||
upx_byte *in, unsigned relocnum,
|
||||
upx_byte *out, upx_byte *image, unsigned headway,
|
||||
int bs, int *big, int bits);
|
||||
static unsigned unoptimizeReloc(upx_byte **in, upx_byte *image, MemBuffer *out, int bs, int bits);
|
||||
|
||||
static upx_byte *optimizeReloc32(
|
||||
upx_byte *in, unsigned relocnum,
|
||||
upx_byte *out, upx_byte *image, unsigned headway,
|
||||
int bs, int *big);
|
||||
static unsigned unoptimizeReloc32(upx_byte **in, upx_byte *image, MemBuffer *out, int bs);
|
||||
static upx_byte *optimizeReloc64(upx_byte *in, unsigned relocnum, upx_byte *out,
|
||||
upx_byte *image, int bs, int *big);
|
||||
|
||||
static upx_byte *optimizeReloc64(
|
||||
upx_byte *in, unsigned relocnum,
|
||||
upx_byte *out, upx_byte *image, unsigned headway,
|
||||
int bs, int *big);
|
||||
static unsigned unoptimizeReloc64(upx_byte **in, upx_byte *image, MemBuffer *out, int bs);
|
||||
|
||||
// target endianness abstraction
|
||||
|
||||
Reference in New Issue
Block a user