| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | class Linker
|
|---|
| 4 | {
|
|---|
| 5 | NativeCode nativeCode;
|
|---|
| 6 | DWORD imageBase;
|
|---|
| 7 |
|
|---|
| 8 | public:
|
|---|
| 9 |
|
|---|
| 10 | Linker()
|
|---|
| 11 | {
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | const NativeCode &GetNativeCode() const
|
|---|
| 15 | {
|
|---|
| 16 | return nativeCode;
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | void SetImageBase( DWORD imageBase )
|
|---|
| 20 | {
|
|---|
| 21 | this->imageBase = imageBase;
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | // データテーブルスケジュール
|
|---|
| 25 | void ResolveDataTableSchedules( long dataSectionBaseOffset );
|
|---|
| 26 |
|
|---|
| 27 | // DLL関数スケジュール
|
|---|
| 28 | void ResolveDllProcSchedules( long codeSectionBaseOffset, long importSectionBaseOffset, long lookupSize, long hintSize );
|
|---|
| 29 |
|
|---|
| 30 | // ユーザ定義関数スケジュール
|
|---|
| 31 | void ResolveUserProcSchedules( long codeSectionBaseOffset );
|
|---|
| 32 |
|
|---|
| 33 | // グローバル変数スケジュール
|
|---|
| 34 | void ResolveGlobalVarSchedules( long rwSectionBaseOffset );
|
|---|
| 35 |
|
|---|
| 36 | // リンク
|
|---|
| 37 | void Link( vector<ObjectModule *> &objectModules );
|
|---|
| 38 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.