PE File Parsing c/c++ [closed]

陌路散爱 提交于 2019-12-24 10:47: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:


Download the documentation here:

Microsoft PE and COFF Specification

Sample code from CodeProject: Parse a PE



来源:https://stackoverflow.com/questions/21007223/pe-file-parsing-c-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!