Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi How to get PE sections and some other info (https://www.delphipraxis.net/181302-how-get-pe-sections-some-other-info.html)

WojTec 4. Aug 2014 16:30

Delphi-Version: XE5

How to get PE sections and some other info
 
I filled (read from stream) my structure with valid data from PE image (x32/x64):

Delphi-Quellcode:
IMAGE_PE_INFO = record
  DOS: IMAGE_DOS_HEADER;
  PE: IMAGE_FILE_HEADER;
  Optional: IMAGE_OPTIONAL_HEADER;
end;
I'm also interested in another data, like:
- sections,
- CLR info (if is .NET crapware),
- support for 16-bit executables,
- import/exports (optional).

For section I found IMAGE_SECTION_HEADER and ImageRvaToSection, but I don't know how to :( Don't know how to rest too :(

p80286 4. Aug 2014 16:37

AW: How to get PE sections and some other info
 
perhaps this helps a little.

Greetings
K-H


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:11 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz