Changeset 281 for trunk/src/pe2lx/LX.H
- Timestamp:
- Jul 7, 1999, 10:11:58 AM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/pe2lx/LX.H (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/pe2lx/LX.H
r97 r281 1 /* $Id: LX.H,v 1. 3 1999-06-10 17:08:51 phallerExp $ */1 /* $Id: LX.H,v 1.4 1999-07-07 08:11:11 sandervl Exp $ */ 2 2 3 3 /* … … 145 145 ~LXHeader(); 146 146 147 void SetEntryAddress(int address); 147 void SetEntryAddress(int address); //relative 148 149 void SetEntryPoint(int address) { EntryAddress = address; }; //absolute virtual address 150 148 151 void SetExeType(BOOL IsEXE); 149 152 void SetNoFixups(); … … 159 162 BOOL SaveNewExeFile(char *filename); 160 163 void SetModuleType(int type); 161 void AddOff32Fixup(int address );164 void AddOff32Fixup(int address, BOOL fLookatStartupCode = FALSE); 162 165 void SetNrOff32Fixups(int nr); 163 166 void AddNameExport(int address, char *name, int ordinal); … … 178 181 //SvL: 18-7-'98: Set version resource id 179 182 void SetVersionResourceId(int id) { VersionResourceId = id; }; 183 184 void SetTLSAddress(ULONG dwTlsAddress) { tlsAddress = dwTlsAddress; }; 185 void SetTLSIndexAddress(ULONG dwTlsIndexAddr) { tlsIndexAddr = dwTlsIndexAddr; }; 186 void SetTLSInitSize(ULONG dwTlsSize) { tlsInitSize = dwTlsSize; }; 187 void SetTLSTotalSize(ULONG dwTlsSize) { tlsTotalSize = dwTlsSize; }; 188 void SetTLSCallBackAddr(ULONG dwTlsCallBackAddr) { tlsCallBackAddr = dwTlsCallBackAddr; }; 189 190 void AddExtraFixups(); 180 191 181 192 private: … … 240 251 ULONG VersionResourceId; 241 252 242 unsigned char *szTIBFix; 243 int TIBSize; 244 int TIBOffEntry; 245 int TIBOffCall; 246 int TIBOffName; 247 int TIBOffKerImport; 248 //SvL: 18-7-'98: Internal pe2lx version and version resource id offsets 249 int TIBOffPe2lxVer; 250 int TIBOffVerResId; 253 ULONG tlsAddress; //address of TLS data 254 ULONG tlsIndexAddr; //address of DWORD that receives the TLS index 255 ULONG tlsInitSize; //size of initialized TLS memory block 256 ULONG tlsTotalSize; //size of TLS memory block 257 ULONG tlsCallBackAddr; //ptr to TLS callback array 251 258 }; 252 259
Note:
See TracChangeset
for help on using the changeset viewer.
