Rev | Line | |
---|
[182] | 1 | #pragma once
|
---|
[34] | 2 |
|
---|
| 3 |
|
---|
[206] | 4 | class UserProc;
|
---|
| 5 | class DllProc;
|
---|
| 6 |
|
---|
| 7 |
|
---|
[34] | 8 | ///////////////////////
|
---|
| 9 | // リロケーション情報
|
---|
| 10 | ///////////////////////
|
---|
| 11 | class CReloc{
|
---|
| 12 | public:
|
---|
| 13 | char *buffer;
|
---|
| 14 | int length;
|
---|
| 15 | DWORD NowPageRVAToReloc;
|
---|
| 16 | DWORD NowCountAddrToReloc;
|
---|
| 17 |
|
---|
| 18 | CReloc();
|
---|
| 19 | ~CReloc();
|
---|
| 20 | void AllFree(void);
|
---|
| 21 | void copy(CReloc *por);
|
---|
| 22 |
|
---|
| 23 | private:
|
---|
[223] | 24 | std::vector<DWORD> codeSectionAddresses;
|
---|
[34] | 25 | public:
|
---|
| 26 | void AddSchedule_CodeSection(DWORD addr);
|
---|
| 27 |
|
---|
| 28 | private:
|
---|
[223] | 29 | std::vector<DWORD> dataSectionAddresses;
|
---|
[34] | 30 | public:
|
---|
| 31 | void AddSchedule_DataSection(DWORD addr);
|
---|
| 32 |
|
---|
| 33 | private:
|
---|
| 34 | void __add(DWORD addr);
|
---|
| 35 | public:
|
---|
| 36 | void ResetRelocBuffer(void);
|
---|
| 37 | };
|
---|
| 38 | extern CReloc *pobj_Reloc;
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | void NativeBuffer_StaticRelocation(int iStartPos,int iSize,int offset);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.