Repository navigation
Releases
Game symbols v5: guessed names, shared stubs and fixed import thunks
The fifth release of the PDB for forza_durango_release_final.exe, the Forza Horizon 2 build that Azimuth runs
(24 Nov 2015, TimeDateStamp 0x565501ED, SizeOfImage 0x3A18000). It carries the exe's own GUID and age, so tools
accept it as the game's real PDB.
Download: FH2-symbols-pdb.zip (10 MB; the PDB inside is 71 MB). It holds the PDB and a short README. It
replaces v4: same GUID, more names, and two faults in v4 fixed.
New in v5
- Guessed names, marked
?. About 15,800 names now end in?, such asAVUI::Object::IsType?and
States::AdvanceIE::Enter?. Nothing in the exe gives these names; they come from reading what the code does.
Treat one as a hint about what the function is for, and check the code before you build on it. A guess is only
used where nothing better is known.- 51 guesses at virtual function slots name about 11,700 functions, because every class derived from the one
named gets the name for that slot: the reflection system'sConstruct?,GetValue?andInvoke?, the UI
library'sGetType?,IsType?,MeasureOverride?andArrangeOverride?,AddRef?andRelease?, the state
machines'Enter?, and more. - 43 single functions, taken from the ones the rest of the game calls most.
- About 280 functions that only return a class's UI type object are
Class::GetStaticType?. - The reason for each guess is beside it in
slots-guess.txt
and
names-guess.txt.
- 51 guesses at virtual function slots name about 11,700 functions, because every class derived from the one
- Shared one-line functions are named by what they do. The linker folded identical functions into one address,
so an empty function orreturn 0sits in thousands of unrelated vtables. v4 gave each one the name of whichever
class came first: the most shared empty function is in 49,481 vtable slots and was called
EntityModel::AIWorldComponent::AIBlockDataLoaded. 215 of these are nowstub_do_nothing,stub_return_0,
stub_get_qword_at_18and so on. - Import thunks fixed. v4 named 717 "import thunks" in the middle of functions, on a tail-call jump one byte
into the instruction. The code after one showed as, say,malloc+Nwhen it belongs to zlib'szcalloc. Those
names are gone, and 50 real thunks that were missed are named,SwitchToThreadamong them. - Five more constructors and destructors, and the virtual functions of
std::error_categoryand the PPL task
base, all certain and so without the mark.
Virtual functions left as Class::vfN drop from 27,669 to 15,776.
Names that change from v4: the 215 shared functions (now stub_...), the 717 thunk names that are removed,
and vfN and sub_ placeholders that now have a real or guessed name. If you would rather have no ? in the
names, set GUESS = "" in gen.py and rebuild.
The weakest guesses
RTTI::ValueandRTTI::TypeHandleare made-up class names: neither has a vtable, so the exe gives none.StateMachine::Behavior::Enter?is a majority vote. The game's own strings say Enter for three classes, OnEnter
for two and Execute for one.CloneCore?andCloneCurrentValueCore?,MeasureOverride?andArrangeOverride?, andadd_PropertyChanged?
andremove_PropertyChanged?are pairs with the same shape. Which is which follows WPF's order.UIPage::OnInitialized?fits what the pages do, but another start-up event would fit too.- The
FMOD::MemPoolnames andFMOD::invokeErrorCallback?were not checked against FMOD's source.
What's in it
- About 417,000 names:
- RTTI vtables and records, virtual functions, constructors and destructors;
- catch blocks and unwind actions, named after their function;
- the methods and properties the game registers with its reflection system;
- exports and imports;
- "Class::Method" strings the game logs;
- names gathered from mod source code and notes;
- standard library, C runtime, zlib and SQLite functions;
- guesses, marked
?; sub_names for everything else.
- About 79,000 are real names of code and vtables, 108,000 are RTTI records, 89,000 are catch blocks and unwind
actions, and about 16,000 are guesses (12,000 functions, and the catch blocks and chunks named after them). The
rest areClass::vfNandsub_<address>placeholders. - Every function's size, so debuggers know where each one ends. The small functions without unwind data have a
name but no size. - No types, local variables or source lines.
Use it
Azimuth maps the game into azimuth.exe by hand, so the game is not a module and no tool finds this PDB by itself.
- Crash addresses, no debugger (tried with v5):
python lookup.py <pdb folder> <exe> 0x1412CC7A0, using
lookup.pyfromsymbols/. - Ghidra (tried with 12.2 and v2): import the exe, then put the PDB beside it before auto-analysis, or use
File > Load PDB File. - x64dbg (tried with v2), attached to
azimuth.exewith the game running:
virtualmod forza_durango_release_final.exe, 140000000, 3A18000, then
symload forza_durango_release_final.exe, <path to the pdb>. Leave with Debug > Detach. - lldb on a platform minidump (tried with v2):
target modules addthe exe, then
target modules load --file forza_durango_release_final.exe --slide 0, thenimage lookup -a <address>. - WinDbg, IDA (not tried yet): put the PDB beside the exe or on your symbol path.
v5 is written the same way as the earlier releases and is the same size as v4. Names ending in ? are new, and
how Ghidra, x64dbg and lldb show them has not been tried.
Chapter 15 of the guide has the
details.
Add names
Found a name? Add it to symbols/names.txt and rebuild with gen.py, or send it as a pull request so the next
release has it. If you know a class's vtable layout, add it to symbols/slots.txt and every class derived from it
gets the names. If you can confirm a guess, move its line from names-guess.txt to names.txt, or from
slots-guess.txt to slots.txt, and the ? goes.
Checksums (SHA-256)
FH2-symbols-pdb.zip:52cfa47fabd3aa26cb5f752b1c1c11da63a48c0c338690644cf0213bded2e752forza_durango_release_final.pdb:fc9ce4f330ba622309f79cfb227d8c484cac66be6b0142be6eed0ebd4035b77d
Game symbols v4: catch blocks, RTTI records and interface methods
The fourth release of the PDB for forza_durango_release_final.exe, the Forza Horizon 2 build that Azimuth runs
(24 Nov 2015, TimeDateStamp 0x565501ED, SizeOfImage 0x3A18000). It carries the exe's own GUID and age, so tools
accept it as the game's real PDB.
Download: FH2-symbols-pdb.zip (10 MB; the PDB inside is 71 MB). It holds the PDB and a short README. It
replaces v3: same GUID, more names.
New in v4
About 418,000 names, up from 235,000. Most of the new ones cover parts of the exe that had no symbol at all.
- Catch blocks and unwind actions. A function with a
tryblock, or with objects to destroy when an exception
passes through, has small pieces of code for that, which the linker puts far away from the function. About 89,000
of them are now named after their function:Function$catch$0,Function$dtor$0,$dtor$1and so on. 72,000
had no symbol before, so an address in one showed as some other function plus a big offset. Crash dumps land in
this code often, since it runs while an exception is being handled. - RTTI's own records, about 108,000, under the names the compiler gives them:
Class `RTTI Type Descriptor',
Class::`RTTI Complete Object Locator'(what the pointer just before a vtable points at),
Class::`RTTI Class Hierarchy Descriptor'andClass::`RTTI Base Class Array'. - Interface methods behind deferred calls. Calls into the render and audio threads are queued, and the class
that carries the arguments is named after the interface and method it will call. That gives the vtable slot of
383 interface methods (IAudioManager::PlayUISoundEvent,ITrackPresentation::ResetObjectPoseand so on), and
every class that implements the interface gets the names: about 740 functions that wereClass::vfN. The 125
small functions that make the call on the other thread readClass::Method`deferred call'. - The UI library's types. AVUI keeps a type object for each UI class. 1,646 of them are named
(Class::`AVUI type'), with the function that builds each one and the stub that destroys it at exit. - FMOD Studio's command table: the two functions listed beside each of 90 recordable API calls, such as
FMOD::Studio::System::getBank`command parser'. atexit, and import thunks that nothing calls directly.
No existing name changes, apart from vfN and sub_ placeholders that now have a real name.
What's in it
- About 418,000 names:
- RTTI vtables and records, virtual functions, constructors and destructors;
- catch blocks and unwind actions, named after their function;
- the methods and properties the game registers with its reflection system;
- exports and imports;
- "Class::Method" strings the game logs;
- names gathered from mod source code and notes;
- standard library, C runtime, zlib and SQLite functions;
sub_names for everything else.
- About 79,000 are real names of code and vtables (72,000 in v3). 108,000 are RTTI records and 89,000 are catch
blocks and unwind actions; the rest areClass::vfNandsub_<address>placeholders. - Every function's size, so debuggers know where each one ends. The small functions without unwind data have a
name but no size. - No types, local variables or source lines.
Use it
Azimuth maps the game into azimuth.exe by hand, so the game is not a module and no tool finds this PDB by itself.
- Crash addresses, no debugger (tried with v4):
python lookup.py <pdb folder> <exe> 0x1412CC7A0, using
lookup.pyfromsymbols/. - Ghidra (tried with 12.2 and v2): import the exe, then put the PDB beside it before auto-analysis, or use
File > Load PDB File. - x64dbg (tried with v2), attached to
azimuth.exewith the game running:
virtualmod forza_durango_release_final.exe, 140000000, 3A18000, then
symload forza_durango_release_final.exe, <path to the pdb>. Leave with Debug > Detach. - lldb on a platform minidump (tried with v2):
target modules addthe exe, then
target modules load --file forza_durango_release_final.exe --slide 0, thenimage lookup -a <address>. - WinDbg, IDA (not tried yet): put the PDB beside the exe or on your symbol path.
v4 is written the same way as v2 and v3, with more names in it. It is half as big again as v3, so loading it takes
a little longer.
Chapter 15 of the guide has the
details.
Add names
Found a name? Add it to symbols/names.txt and rebuild with gen.py, or send it as a pull request so the next
release has it. If you know a class's vtable layout, add it to symbols/slots.txt and every class derived from it
gets the names.
Checksums (SHA-256)
FH2-symbols-pdb.zip:572387b7ea10cb6ba4133695573fe4ede252ca8a94fc35558f7174ccaf00a180forza_durango_release_final.pdb:71b45564d9a108cb033b0a71aab8fbd3e4b9e41888878692b58c3ea8651059af
Game symbols v3: the game's own names, constructors and class hierarchies
The third release of the PDB for forza_durango_release_final.exe, the Forza Horizon 2 build that Azimuth runs
(24 Nov 2015, TimeDateStamp 0x565501ED, SizeOfImage 0x3A18000). It carries the exe's own GUID and age, so tools
accept it as the game's real PDB.
Download: FH2-symbols-pdb.zip (6 MB; the PDB inside is 47 MB). It holds the PDB and a short README. It
replaces v2: same GUID, more names.
New in v3
About 30,000 more real names (72,000 now, 41,700 in v2), read out of the game's own code.
- The game's own names for methods and properties. The game has a reflection system, and about 1,000 of its
classes register their methods and properties with it by name. 2,639 functions now carry those names:
Class::Method, andClass::get_PropertyandClass::set_Propertyfor a property's accessors. An accessor is
often one instruction that reads or writes a field, so it also shows where that field sits in the object. - Constructors. 5,076 functions read
Class::Class, told by the vtables they store into their own object. - Destructors. Scalar deleting destructors are now found in any vtable slot, not just slot 0 (9,411, was about
7,500), and 2,057 destructors readClass::~Class. A destructor is now named after the class whose deleting
destructor calls it. About 160 that v2 named after a member's or a base's class are corrected. - Virtual functions named through their class hierarchy. A name known for one class's vtable slot is given to
the same slot of every related class, so one knownUpdatenames every override of it. 18,047 functions that
wereClass::vfNnow have a name. About 16,400 of them arestd::functioninternals (_Do_call,_Copy); the
rest are the game's own (Update,OnEvent,SaveGameStateand so on). - More SQLite and zlib. 560 more functions, named from what the byte-matched ones refer to and call.
- Small functions without a symbol. About 10,500 leaf functions with no unwind data were missing altogether,
so an address in one showed as the function before it plus an offset. They now havesub_<address>names. - Import thunks carry the import's name (
memcpy), and virtual-call thunks read`vcall'{N}.
Nine names that came from mod sources give way to the game's own: FH2_GAME_HUD_RESUME, for one, is now
EntityModel::HUDModuleAR::ResumeAll. No address lost its name.
What's in it
- About 235,000 names:
- RTTI vtables, virtual functions, constructors and destructors;
- the methods and properties the game registers with its reflection system;
- exports and imports;
- "Class::Method" strings the game logs;
- names gathered from mod source code and notes;
- standard library, C runtime, zlib and SQLite functions;
sub_names for everything else.
- Every function's size, so debuggers know where each one ends. The small functions without unwind data have a
name but no size. - No types, local variables or source lines.
Use it
Azimuth maps the game into azimuth.exe by hand, so the game is not a module and no tool finds this PDB by itself.
- Crash addresses, no debugger (tried with v3):
python lookup.py <pdb folder> <exe> 0x1412CC7A0, using
lookup.pyfromsymbols/. - Ghidra (tried with 12.2 and v2): import the exe, then put the PDB beside it before auto-analysis, or use
File > Load PDB File. - x64dbg (tried with v2), attached to
azimuth.exewith the game running:
virtualmod forza_durango_release_final.exe, 140000000, 3A18000, then
symload forza_durango_release_final.exe, <path to the pdb>. Leave with Debug > Detach. - lldb on a platform minidump (tried with v2):
target modules addthe exe, then
target modules load --file forza_durango_release_final.exe --slide 0, thenimage lookup -a <address>. - WinDbg, IDA (not tried yet): put the PDB beside the exe or on your symbol path.
v3 is written the same way as v2, with more names in it.
Chapter 15 of the guide has the
details.
Add names
Found a name? Add it to symbols/names.txt and rebuild with gen.py, or send it as a pull request so the next
release has it. If you know a class's vtable layout, add it to symbols/slots.txt and every class derived from it
gets the names.
Checksums (SHA-256)
FH2-symbols-pdb.zip:2b3072e6aee3236e506c4a8f8a096800627b7e21f419413115c9059d95e504a9forza_durango_release_final.pdb:2ba20586d3c4cf20bce118d0cc85a3dcc7d2db63f747240f2730145ae44ff56f
Game symbols v2: destructors, zlib and SQLite
The second release of the PDB for forza_durango_release_final.exe, the Forza Horizon 2 build that Azimuth runs
(24 Nov 2015, TimeDateStamp 0x565501ED, SizeOfImage 0x3A18000). It carries the exe's own GUID and age, so tools
accept it as the game's real PDB.
Download: FH2-symbols-pdb.zip (5 MB; the PDB inside is 36 MB). It holds the PDB and a short README. It
replaces v1: same GUID, more names.
New in v2
- Destructors. Slot 0 of most vtables is the class's scalar deleting destructor. About 7,500 of these now read
Class::`scalar deleting destructor'instead ofClass::vf0. The 1,367 destructors they call read
Class::~Class, named after the vtable each one stores, so a class with a trivial destructor shows its base
class's. - More library code. 521 functions found by byte matching (v1 had 369), now including zlib 1.2.7 and
SQLite 3.6.19. Matching is also stricter: functions with the same code but different data are told apart, and
short matches that could be chance are gone. - Stack-cookie checks named by hand:
__security_check_cookie,__GSHandlerCheck,__report_gsfailureand
__security_cookie. - The
TrackPresentation11destructor now has its namespace:Presentation11::TrackPresentation11.
What's in it
- About 224,000 names:
- RTTI vtables, virtual functions and destructors;
- exports and imports;
- "Class::Method" strings the game logs;
- names gathered from mod source code and notes;
- standard library, C runtime, zlib and SQLite functions found by byte matching;
sub_names for everything else.
- Every function's size, so debuggers know where each one ends.
- No types, local variables or source lines.
Use it
Azimuth maps the game into azimuth.exe by hand, so the game is not a module and no tool finds this PDB by itself.
- Crash addresses, no debugger (tried):
python lookup.py <pdb folder> <exe> 0x1412CC7A0, usinglookup.py
fromsymbols/. - Ghidra (tried with 12.2): import the exe, then put the PDB beside it before auto-analysis, or use
File > Load PDB File. - x64dbg (tried), attached to
azimuth.exewith the game running:
virtualmod forza_durango_release_final.exe, 140000000, 3A18000, then
symload forza_durango_release_final.exe, <path to the pdb>. Leave with Debug > Detach. - lldb on a platform minidump (tried):
target modules addthe exe, then
target modules load --file forza_durango_release_final.exe --slide 0, thenimage lookup -a <address>. - WinDbg, IDA (not tried yet): put the PDB beside the exe or on your symbol path.
Chapter 15 of the guide has the
details.
Add names
Found a name? Add it to symbols/names.txt and rebuild with gen.py, or send it as a pull request so the next
release has it.
Checksums (SHA-256)
FH2-symbols-pdb.zip:a458feaebcd9845729830054471945380fca6172cd3c89803d612a6d5d1e6d5aforza_durango_release_final.pdb:40e725825e68833a64d3435cba28a355775f7f8c88a7599969071fbea1998635
Game symbols v1: a PDB for FH2
A ready-made PDB for forza_durango_release_final.exe, the Forza Horizon 2 build that Azimuth runs (24 Nov 2015,
TimeDateStamp 0x565501ED, SizeOfImage 0x3A18000). It carries the exe's own GUID and age, so tools accept it as
the game's real PDB.
With it, a crash address such as forza_durango_release_final+0x12CC7A0 reads CollisionWorld::GetPolys+0x70.
Download: FH2-symbols-pdb.zip (5 MB; the PDB inside is 35 MB). It holds the PDB and a short README.
What's in it
- About 223,000 names:
- RTTI vtables and virtual functions;
- exports and imports;
- "Class::Method" strings the game logs;
- 346 names gathered from mod source code and notes;
- 369 standard library and C runtime functions found by byte matching;
sub_names for everything else.
- Every function's size, so debuggers know where each one ends.
- No types, local variables or source lines.
Use it
Azimuth maps the game into azimuth.exe by hand, so the game is not a module and no tool finds this PDB by itself.
- Crash addresses, no debugger (tried):
python lookup.py <pdb folder> <exe> 0x1412CC7A0, usinglookup.py
fromsymbols/. - lldb on a platform minidump (tried):
target modules addthe exe, then
target modules load --file forza_durango_release_final.exe --slide 0, thenimage lookup -a <address>. - WinDbg, Ghidra, IDA (not tried yet): put the PDB beside the exe or on your symbol path.
Chapter 15 of the guide has the
details.
Add names
Found a name? Add it to symbols/names.txt and rebuild with gen.py, or send it as a pull request so the next
release has it.
Checksums (SHA-256)
FH2-symbols-pdb.zip:0b2d775a40850ac43677d21b8c42874b6684dfcd8d9ba1265b5c9efe52aecce3forza_durango_release_final.pdb:7b2fd825872bc976a64d41623bb97552e77a7d0c8af0a42042157b6fa34060d5