Top "Portable-executable" questions

The Portable Executable (PE) format, a modification of COFF, is the file format for executable binaries under the Windows operating system.

How to determine the size of an PE executable file from headers and or footers

Assuming you have a stream of data or a block of bytes you want to carve, how can you determine …

windows portable-executable
How to force GDB to disassemble code when it says "No function contains program counter for selected frame"?

How to force GDB to disassemble code when it says "No function contains program counter for selected frame"? Debugging a …

debugging assembly x86 gdb portable-executable
Save data in executable

I have a portable executable that saves data to a file in the same folder as the executable. Is there …

c# portable-executable
How do i determine exact PE image file size using its header(s)?

I need byte size, IMAGE_OPTIONAL_HEADER.SizeOfImage appears to be rounded up to (unsure) boundary and is greater than …

windows delphi language-agnostic portable-executable
What's the format of .lib in windows?

AFAIK, .dll is in PE format, what about .lib?

portable-executable
getting offset in file from RVA

I'm trying to read a PE file. The problems is that the data uses RVA pointers while I need offset …

64-bit portable-executable
Portable executable for CMake

I am developing on a Windows machine for which I don't have administrative privileges. I would like to use CMake …

binary cmake portable-executable
Parsing plain Win32 PE File (Exe/DLL) in .NET

I need to parse plain Win32 DLL/Exe and get all imports and exports from it to show on console …

c# .net-3.5 assemblies marshalling portable-executable
How can I create an executable .exe PE file manually?

All texts on how to create a compiler stop after explaining lexers and parsers. They don't explain how to create …

windows compiler-construction linker executable portable-executable
Can anyone define the Windows PE Checksum Algorithm?

I would like to implement this in C# I have looked here: http://www.codeproject.com/KB/cpp/PEChecksum.aspx …

c# algorithm checksum portable-executable