Commit Graph

356 Commits

Author SHA1 Message Date
Ryan Kurtz
6315aa68df Merge remote-tracking branch 'origin/GP-4970-dragonmacher-help-fix' 2024-10-04 07:38:12 -04:00
dragonmacher
81212432a3 GP-4970 - Fixed broken help TOC link that points to generated file 2024-10-03 09:49:29 -04:00
Ryan Kurtz
23b75ec040 Merge remote-tracking branch 'origin/GP-4975_ghizard_PDB_allow_VxTable_mangled_symbols_to_be_primary' 2024-10-01 13:48:51 -04:00
Ryan Kurtz
3cc122cffa Merge remote-tracking branch 'origin/GP-4955_ryanmkurtz_elf--SQUASHED'
(Closes #6912)
2024-10-01 13:44:46 -04:00
Ryan Kurtz
9aba9d81be GP-4955: The ElfLoader imagebase option can now contain a leading 0x 2024-10-01 13:43:42 -04:00
ghizard
b776df4c7c GP-4975 - PDB - allow VxTable mangled symbol to be primary for Demangler 2024-09-30 21:42:44 +00:00
ghizard
91f82f9f90 GP-4725 - PDB work toward applying source lines information 2024-09-26 18:10:45 -04:00
ghizard
737ea4d31f GP-4898 - All Demanglers: added MangledContext; Microsoft MDMang: added
C-style mangling scheme and moved Demangler type hierarchies out of
MDMang
2024-09-19 12:26:30 +00:00
Ryan Kurtz
d73a977ca1 GP-0: Certify 2024-08-23 13:43:53 -04:00
Emerson Pinter
8011144b96 fix: restore debugInfo null check
Restore the fix implemented by d86b60e6b2
2024-08-22 14:25:34 -03:00
Ryan Kurtz
ab89202848 Merge remote-tracking branch 'origin/GP-4843_ghizard_PR-6788_alandtse_namespace_in_bitfield' 2024-08-13 09:45:54 -04:00
ghizard
f17f94929e GP-4843 - PDB MSDIA proc of namespace and bit-fields - change initial
name test
2024-08-13 12:59:13 +00:00
Ryan Kurtz
33867f718b Merge remote-tracking branch 'origin/GP-4735_dev747368_pdb_trusted_symbolserver--SQUASHED' 2024-08-12 14:19:48 -04:00
dev747368
dcc56457ea GP-4735 refactor pdb symbol server 'remote' to 'untrusted'
Change name of symbolserver 'remote' property to 'untrusted' to reflectits intended usage.Add column in config table to allow user to toggle trusted status onhttp:// symbol servers (the only type that currently supports thisconcept)
2024-08-12 12:49:58 -04:00
Ryan Kurtz
4ac6cf5206 Merge remote-tracking branch
'origin/GP-4822_ghizard_PDB_U_add_char8_t_primitive_types' (#6744)
2024-08-12 06:35:50 -04:00
Alan Tse
7d666ea34c fix: handle namespaces when processing bitfields
Handle cases where namespaces may be provided in a pdb member name. The
code incorrectly assumed that namespaces may never appear if PDB.kind
was a Member.
2024-08-11 18:06:29 -07:00
ghizard
6b8cc1a5b5 GP-4824 - PDB MSDIA - deal with NoType types 2024-08-07 18:28:59 +00:00
Ryan Kurtz
351374286b Merge branch 'GP-4827_ryanmkurtz_PR-6744_alandtse_malformed_pdb_datatypes' 2024-08-07 14:12:34 -04:00
Ryan Kurtz
74be258549 GP-4827: Certify 2024-08-07 14:10:55 -04:00
ghizard
45b86dfacf GP-4822 - PDB Universal - add char8_t 2024-08-07 17:03:12 +00:00
Alan Tse
d8ae172125 Fix parsing of recoverable malformed datatypes
MSVC sometimes generates pdbs where there is an implied datatype such as
pointers `*` or arrays `[16]`. While the actual datatype is unknown,
Ghidra has undefined to cover this use case.

This avoids an error on PDB import which would have a cryptic message:
"Symbol list must contain at least one symbol name!" without any info
on what caused the issue.
2024-07-22 01:24:28 -07:00
ghizard
c26a290c14 GP-4773 - PDB - Standardize namespaces and improve class namespace determination; involved MDMangUtils too; re-instates GP-4595 change 2024-07-18 18:21:21 -04:00
Ryan Kurtz
2990501f28 Merge remote-tracking branch 'origin/GP-4746_ghizard_PdbReader_migrate_many_more_dump_methods_to_use_writer' 2024-07-08 07:08:04 -04:00
ghizard
ad22c4aaf6 GP-0 - master - PDB undo main part of GP-4595 for now 2024-07-05 16:31:33 +00:00
ghizard
45f0ca63fa GP-4746 - PdbReader dump methods - output NameTable stream records;
modify more dumps to use Writer instead of StringBuilder
2024-07-05 11:33:12 +00:00
ghizard
8a62ed795f GP-4743 - PDB - Developer stream and offset locator for file offset 2024-07-03 12:43:22 +00:00
Ryan Kurtz
8b7cae1b2c Merge remote-tracking branch 'origin/GP-4595_ghizard_PDB_work_around_self_containing_class_from_lambda_and_deal_with_primitive_typedef--SQUASHED' 2024-07-02 12:36:41 -04:00
ghizard
3326d42baf GP-4595 - PDB fix class containing member with same type name and primitive typedef and use default type handler 2024-07-01 18:29:57 -04:00
ghizard
99e087569f GP-4736 - PDB Refactor C11 and C13 Sections and Lines information and
create member access
2024-07-01 13:32:56 +00:00
ghizard
999004245a GP-4700 - Improve PDB and MDMang developer scripts 2024-06-18 12:13:14 +00:00
Shawn Hoffman
37e74c253b win pdb: don't override PlatformToolset
The msvc toolset version recently bumped to 14.40.x.
See https://devblogs.microsoft.com/cppblog/msvc-toolset-minor-version-number-14-40-in-vs-2022-v17-10/
Ghidra was assuming the msvc toolset version would match the PlatformToolset version (which indicates binary compatibility), which is not correct.
PlatformToolset specified on msbuild commandline was overriding the value in the vcxproj, and not acting as a "default" value.
Just remove the explicit passing, it's handled by the vcxproj already.
2024-05-30 12:38:59 -07:00
ghizard
cb3a6ced93 GP-4625 - Modify dev PDB Dump script and add scripts to dump PDB mangled names; realign mangled name for complex type hierarchy 2024-05-24 07:55:28 -04:00
ghizard
38e011aa41 GP-4593 - PDB - Reorder out-of-order base classes 2024-05-10 18:08:34 +00:00
Ryan Kurtz
e1409df283 Merge remote-tracking branch 'origin/GP-4572_ghizard_Fix_PDB_issues_pointertype_notype_symbols_proc_primitives_applmetrics' 2024-05-01 08:08:17 -04:00
ghizard
da46d670ec GP-4572 - PDB - Fix misc: pointer type, notype symbol, unproc
primitives, symbol metrics
2024-04-30 14:37:31 +00:00
ghizard
953f59317a GP-4571 - PDB Fix reading unavailable DebugData streams 2024-04-30 14:32:44 +00:00
Ryan Kurtz
d04b285f8d Merge remote-tracking branch 'origin/GP-4503_ghizard_Modify_two_developer_PDB_scripts_to_use_askValues' 2024-04-11 06:17:00 -04:00
ghizard
f58072535e GP-4503 - Use GhidraScript askValues in two developer PDB scripts 2024-04-09 21:38:58 +00:00
ghidra1
624a3c4e9e GP-4408 Refactor of FillOutStructureCmd. Added FillOutStructureHelper and additional DecompilerUtils methods. 2024-04-03 09:53:53 -04:00
ghizard
76994b47a1 GP-4245 - Split PDB Universal Analyzer into multiple phases with
analyzer state
2024-03-12 15:10:10 -04:00
ghizard
0d68aab0a8 GP-4383 - PDB - Changes to MultiphaseResolver and IOException propagation; extract ClassFieldAttributes from CppCompositeType 2024-03-12 11:27:13 -04:00
ghizard
31261c0761 GP-0 - fix PointerApplier for GP-4246 2024-02-27 13:00:10 -05:00
ghizard
f1495cb6a1 GP-4246 - PDB improve types processing - better queuing mechanism, remove placeholder types, delay resolve 2024-02-27 11:17:35 -05:00
ghizard
774d6058bb GP-0 - PDB rename MS PointerMode 2024-02-26 17:24:11 -05:00
ghizard
660464b805 GP-4335 - PDB Update symbol-creation mechanism; remove primary symbol
table since ghidra primary symbols are now more performant
2024-02-20 12:58:27 -05:00
ghizard
039056fe41 GP-0 - PDB - Fix FunctionSymbolApplier from GP-3991 2024-02-15 09:40:29 -05:00
ghizard
1470713dbb GP-4306 - PDB - cleanup some types pertaining to vftptrs and methods 2024-02-09 09:23:56 -05:00
Ryan Kurtz
0ad4739909 Merge remote-tracking branch 'origin/GP-3991_ghizard_PDB_symbol_applier_work_squash_rebase_20240125--SQUASHED' 2024-02-07 11:21:55 -05:00
ghizard
4bcabe6787 GP-3991 PDB progress on symbol appliers 2024-02-06 10:49:27 -05:00
Ryan Kurtz
2399510c9a Merge remote-tracking branch 'origin/GP-4264_ghizard_Stub_larger_pointers' 2024-02-01 08:12:48 -05:00