tinycodinglm / sec /pe-0004.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 16)
d517dc9 verified
|
Raw History Blame Contribute Delete
991 Bytes
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

How to parse PE resources

Assistant

PE Resource directory via IMAGE_DIRECTORY_ENTRY_RESOURCE:\n\nHierarchical: Type -> Name/ID -> Language\n\nResource types: RT_ICON, RT_STRING, RT_MANIFEST, RT_VERSION, RT_GROUP_ICON\n\nWith pelib: PeLib::ResourceDirectory resDir = pe->resources(); resDir.getType(i); resDir.getId(i); resDir.getData(i)