![]() |
|
|
|
#1
|
|||
|
|||
|
1. Sections in file can overlap, sections in memory cannot. But they both can have gaps.
3. To execute your code between two pages correctly you must have at least EXECUTABLE attribute on both pages (READ_EXECUTE on Intel x86), if not - instruction will cause an exception. So, set EXECUTABLE flag in section attributes for both sections and executed code anywhere you want. |
|
#2
|
|||
|
|||
|
Quote:
If i remember well (played with this thing much time ago), when i left an opened gap between virtual sections i got punished by the winloader... are you sure about this? |
![]() |
| Tags |
| header, loader, overflow, overlap, section |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 2 questions about hasp | suddenLy | General Discussion | 3 | 01-12-2005 01:51 |
| 2 questions (IDA / Windows 2k/2k3) | skyper | General Discussion | 8 | 04-22-2004 08:44 |
| questions about code | bartster | General Discussion | 19 | 02-14-2004 01:31 |
| some unpacking questions | gnasher | General Discussion | 2 | 01-03-2004 20:44 |