Executable formats

PE section layout planner

Plan aligned file offsets and RVAs from raw and virtual section sizes.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Round raw storage to FileAlignment. Advance each RVA by the aligned maximum of raw content and virtual size.

A 600-byte raw section at offset 512 ends at 1536 after padding. A 900-byte virtual section at RVA 4096 ends at image boundary 8192.

Limits

Ordinary image layout with SectionAlignment ≥ 4096 only. Supply header space in the starting offsets. This does not generate a PE image or validate its loader behavior.