tinycodinglm / sec /pe-0000.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 16)
d517dc9 verified
|
Raw History Blame Contribute Delete
1.13 kB
opencode trace
System You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing c...

You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies.

User

What is PElib and how to use it for PE file parsing

Assistant

PElib is a C++ library for parsing Windows PE (Portable Executable) files. Website: http://www.pelib.com/\n\nKey features:\n- Parse PE headers (DOS, NT, Optional)\n- Read section tables and raw data\n- Parse import/export tables\n- Access resources\n- Modify PE structure\n\nExample: #include pelib/PeLib.h, PeLib::PeFile::open(), pe->peHeader(), hdr.addressOfEntryPoint(), hdr.numberOfSections()