25 Commits

Author SHA1 Message Date
hfiref0x 9d12b928b8 Fix "File not found" completely
This update fixes:

Issues with "File not found" origin - when user is confused with "File not found" message and it is not clear who is not found - pdb file or MsDia140.dll.

Fixes an issue within PDBExtractor->ParseParameters
NextArgumentLength calculated as length of CurrentArgument.

Fix potential bugs in ref counting in PDBCallback->AddRef, PDBCallback->Release
AddRef should increment the reference count and return the new value, not the old one. Release contain potential undefined behavior as it can return member of already deleted object.
2025-06-18 17:27:29 +02:00
Petr Beneš 562ef14af1 reorder basic types because OCD 2021-06-29 21:22:02 +02:00
Matthijs Lavrijsen e93893f028 Add char8_t support 2021-06-29 21:22:02 +02:00
hfiref0x 43517b737a fix incorrect result of SymbolModuleBase::LoadDiaViaLoadLibrary
This fixes pdbex crash - If dll not exist or has wrong architecture the LoadDiaViaLoadLibrary code will produce incorrect result and pass error checking, later this will crash pdbex as invalid memory (NULL) will be dereferenced.
2020-01-31 04:59:14 +01:00
Petr Benes 000374f634 use CComPtr wherever possible, migrate to c++latest 2019-06-19 23:07:01 +02:00
Petr Benes 36fec44a11 cosmetic changes 2019-06-19 21:36:42 +02:00
Petr Benes ab38330491 cosmetic changes 2019-06-19 21:32:42 +02:00
Petr Benes 4ecd6c030e support char16_t & char32_t 2019-01-10 21:48:53 +01:00
Petr Benes 93f7089379 handle 128-bit integers (OWORD, __m128) 2019-01-10 21:48:53 +01:00
Petr Benes 16c2a00e54 cosmetic fixes of previous commit 2019-01-10 21:48:53 +01:00
MeeSong be7a72fe8f Support binary file path (#1)
* [ADD] direct export call msdia140.dll
* [MDF] Copy msdia140.dll cmd
* [ADD] Support binary file path
2018-11-10 13:17:30 +01:00
Petr Benes f8e9e33daa handle "<anonymous-tag>" names (since Win10 build 18277) 2018-11-08 21:43:30 +01:00
Petr Benes bfcafc63f6 add '-f' option to print list of functions 2018-08-24 19:45:21 +02:00
Petr Benes 612f3819c1 be more C++-friendly
NULL -> nullptr when appropriate
CONST -> const
2016-01-06 00:52:47 +01:00
Petr Benes 09657d1a1c refactored
User Data Type -> UDT
User Data Field -> UDT field
2016-01-06 00:43:08 +01:00
Petr Benes 7db4771f91 use temp value for fetching of UdtKind 2016-01-06 00:18:51 +01:00
Petr Benes 72f519e5ec get rid of memleaks 2016-01-06 00:18:33 +01:00
Petr Benes 26d6fddd7b guess CPU type if it's not stored in PDB 2016-01-06 00:17:33 +01:00
Petr Benes a0ce546b4c correct fetching of information for UDTs 2016-01-05 23:01:45 +01:00
Petr Benes a5f1373e0f dump only members 2016-01-05 22:57:23 +01:00
Petr Benes d97f2ba58a correct determining of architecture 2016-01-04 00:52:15 +01:00
Petr Benes 788d4fdbc8 replace malloc/calloc for new/new[] 2016-01-04 00:27:27 +01:00
Petr Benes b76ce6ecb0 change of backend engine from dbghelp to dia
+ print const & volatile modifiers
+ add support for long double (10bit floats)
+ fix padding before first member
+ change all occurences of ULONG64 to DWORD
2016-01-03 23:57:16 +01:00
Petr Benes 7a47d22c2b fix bitfield handling 2016-01-01 18:52:01 +01:00
Petr Benes c9c86d759f initial commit 2015-12-24 01:25:52 +01:00