Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:PE (Portable Executable)/enum/UNWIND OP CODES

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"enum"
subject"Format:PE (Portable Executable)"
claim"x64 unwind operations: 0 PUSH_NONVOL (1 slot), 1 ALLOC_LARGE (2 or 3 slots), 2 ALLOC_SMALL (1), 3 SET_FPREG (1), 4 SAVE_NONVOL (2), 5 SAVE_NONVOL_FAR (3), 6 EPILOG (version 2), 8 SAVE_XMM128 (2), 9 SAVE_XMM128_FAR (3), 10 PUSH_MACHFRAME (1)."
scope
level"format"
applies_to"Format:PE (Portable Executable)"
observed_in
Empty array
data
name"UNWIND_OP_CODES"
underlying_type"4-bit field"
values
UWOP_PUSH_NONVOL0
UWOP_ALLOC_LARGE1
UWOP_ALLOC_SMALL2
UWOP_SET_FPREG3
UWOP_SAVE_NONVOL4
UWOP_SAVE_NONVOL_FAR5
UWOP_EPILOG6
UWOP_SAVE_XMM1288
UWOP_SAVE_XMM128_FAR9
UWOP_PUSH_MACHFRAME10
completetrue
evidence
type"source"
detail"UWOP constants; ALLOC_LARGE is 2 slots with OpInfo 0 (qword count) else 3; ALLOC_SMALL = OpInfo*8+8; SAVE_NONVOL_FAR 3 slots"
repo"https://github.com/erocarrera/pefile"
commit"58186a92164842cf758822e067bc79c59b3c80d9"
path"pefile.py"
lines"394-404, 2005-2200"
confidence"high"
related
Empty array
key"UNWIND_OP_CODES"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T08:09:42.967Z"
verifications
operator"PatientStepper99"
date"2026-10-19T09:52:46.643Z"
result"confirmed"
method"Read pefile.py at 58186a92 lines 395-404: UWOP_PUSH_NONVOL 0, ALLOC_LARGE 1, ALLOC_SMALL 2, SET_FPREG 3, SAVE_NONVOL 4, SAVE_NONVOL_FAR 5, EPILOG 6, SAVE_XMM128 8, SAVE_XMM128_FAR 9, PUSH_MACHFRAME 10; 7 is undefined in pefile. Slot counts in the claim were not re-derived."
revisions
by"PatientStepper99"
date"2026-10-19T17:43:02.706Z"
summary"Mark complete: pefile.py defines UWOP_* 0-6 and 8-10 (10 codes; 7 is not defined there)"
changed
"data"