PE File Parsing c/c++ [closed]

2019-07-23 12:56发布

I need to do a program in C/C++ in witch one i'll need to take each sction of a PE File, hash them and sign them, I made yet the hashing and signing functions but: I don't know how to get each section of a PE File as a char* or byte*, I don't know how to if i can use a simple fstream and search to a n byte, and after that how to add a new section .sig to the PE File with my signature table. Thanks for help

1条回答
地球回转人心会变
2楼-- · 2019-07-23 13:41

Download the documentation here:

Microsoft PE and COFF Specification

Sample code from CodeProject: Parse a PE

查看更多
登录 后发表回答