能力值:
( LV2,RANK:10 )
|
-
-
[求助]PE文件扩展末尾块表的大小
也不用看工程 其实我的做法很简单
1 增加文件长度
2 修改以下两个值
typedef struct _IMAGE_SECTION_HEADER {
BYTE Name[IMAGE_SIZEOF_SHORT_NAME];
union {
DWORD PhysicalAddress;
DWORD VirtualSize; //修改
} Misc;
DWORD VirtualAddress;
DWORD SizeOfRawData; //修改
DWORD PointerToRawData;
DWORD PointerToRelocations;
DWORD PointerToLinenumbers;
WORD NumberOfRelocations;
WORD NumberOfLinenumbers;
DWORD Characteristics;
} IMAGE_SECTION_HEADER, *PIMAGE_SECTION_HEADER;
3 修改SizeOfImage
就么简单的事情而已 可是程序直接报无效Win32了 何解
|
能力值:
( LV2,RANK:10 )
|
-
-
[求助]PE文件扩展末尾块表的大小
加壳都是增加一个块表 这样反而没事 直接扩展末尾块表却出错 不知什么原因 麻烦大件看一下我的工程哪里错了 也就一个按钮的代码 很少的 :
|