From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Microsoft Visual C++ ABI" |
|---|
| claim | "An MSVC catch-handler entry (HandlerType, in $handlerMap$ / __catchsym$) is 20 bytes on x64: adjectives (1 const, 2 volatile, 8 reference), TypeDescriptor RVA (0 = catch(...)), frame offset of the catch object (0 if none), RVA of the catch funclet, and dispFrame. On x86 it is 16 bytes, without dispFrame and with VAs." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Microsoft Visual C++ ABI" |
|---|
| observed_in | | "MSVC 19.44 x64 /d2FH4- build" |
| "MSVC 19.44 x86 build" |
|
|---|
|
|---|
| data | | name | "HandlerType64" |
|---|
| size | 20 |
|---|
| alignment | 4 |
|---|
| fields | | offset | "0x00" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "adjectives" |
|---|
| notes | "1 const, 2 volatile, 8 reference" |
|---|
|
| offset | "0x04" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dispType" |
|---|
| notes | "TypeDescriptor RVA; 0 = catch(...)" |
|---|
|
| offset | "0x08" |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "dispCatchObj" |
|---|
| notes | "frame offset of the catch variable, 0 if none" |
|---|
|
| offset | "0x0C" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dispOfHandler" |
|---|
| notes | "RVA of the catch funclet" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "dispFrame" |
|---|
| notes | "x64/ARM64 only" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "HandlerType {Adjectives, Type, CatchObjOffset, Handler, ParentFrameOffset (x64 and AArch64 only)}" |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "8cdfc2de74ce046bae08f3a423be85694f225f3b" |
|---|
| path | "llvm/lib/CodeGen/AsmPrinter/WinException.cpp" |
|---|
| lines | "846-870" |
|---|
|
| type | "source" |
|---|
| detail | "a catch block without type_info is catch(...)" |
|---|
| repo | "https://github.com/wine-mirror/wine" |
|---|
| commit | "7298a818b79446bae153b8d5aa27235ab3703bf9" |
|---|
| path | "dlls/msvcrt/except.c" |
|---|
| lines | "127-131" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "x64 $handlerMap$0$main: 09000000 b01a0300 78000000 80320200 48000000 = catch(const std::exception&) (adjectives 9 = const|reference); x86 __catchsym$_main$6: 00000000 <TD of int> dcffffff <handler VA> = catch(int v)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "HandlerType (x64)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T06:28:48.698Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:25:41.024Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read WinException.cpp at 8cdfc2de74ce lines 846-870: HandlerType {Adjectives, Type, CatchObjOffset, Handler, ParentFrameOffset (only when shouldEmitPersonality, x64 and AArch64)}: 20 bytes on x64. Matches." |
|---|
|
|
|---|