![]() |
|
#1
|
|||
|
|||
|
Delphi and section
Hello,
Is it possible to modify section characteristic in delphi like /SECTION with masm ??? bye Darus |
|
#2
|
|||
|
|||
|
You can use PE-Editor for this.
|
|
#3
|
|||
|
|||
|
Im not sure if this is what you need.
I dont really use MASM and it has been a long time since i needed to power-use TASM. This is from the delphi 6.0 help Quote:
|
|
#4
|
|||
|
|||
|
Great informations, redbull. But I have search in Delphi help and google, and found that we can not rely on the Delphi directives or compiler options to change or modify the attributes of sections in the Delphi PE file. The only way is we must use a PE Editor to modify flags, attributes of Delphi PE sections or wrote our own tools. Two your directives only affect the Image file header and optional header.
Regards, TQN |
|
#5
|
|||
|
|||
|
yeah I have tried to do similar things in the past, with no luck ....
I ended up writing and app to patch the section headers of another exe after compiling ... that is the only way i debug with any speed. |
|
#6
|
|||
|
|||
|
ok, thx for your answer, i will make the modification with pe editor
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to add a section In an EXE | netxman | General Discussion | 9 | 12-18-2004 11:22 |