58 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
diversenok 5645691994 Fix enum sign-extension 2024-08-27 01:39:36 +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
Matthijs Lavrijsen 6b143a98df Fix potential nullptr dereference in UdtFieldDefinition::VisitBaseType
Fixes #12
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.
v0.25
2020-01-31 04:59:14 +01:00
Biswa96 c138afd62e PDBExtractor: add ARM machine type v0.23 2020-01-01 18:44:53 +01:00
Martin Vejnár dba65c05d5 Emit #include <stdint.h> when -i is in effect v0.21 2019-08-08 15:47:48 +02:00
Petr Beneš 7be75654cc update README.md 2019-06-19 23:23:38 +02:00
Petr Benes 000374f634 use CComPtr wherever possible, migrate to c++latest v0.18 2019-06-19 23:07:01 +02:00
Petr Benes e443dca01b bump version 2019-06-19 21:40:49 +02:00
Petr Benes 36fec44a11 cosmetic changes 2019-06-19 21:36:42 +02:00
Petr Benes 8a6267546c move .editorconfig outside of pdbex project 2019-06-19 21:35:01 +02:00
Petr Benes 1b3aa3f021 fix postbuild copy command (missing quotes) v0.17 2019-06-19 21:32:42 +02:00
Petr Benes 67545bc361 add .editorconfig 2019-06-19 21:32:42 +02:00
Petr Benes 3d925a1d05 retarget solution to VS2019 2019-06-19 21:32:42 +02:00
Petr Benes ab38330491 cosmetic changes 2019-06-19 21:32:42 +02:00
Jonathan Doron 3fe7502699 Write the corrected name for unnamed enums v0.14 2019-04-09 15:55:27 +02:00
Parallel Xenoexcite 8e3b730fd2 update README.md v0.12 2019-02-23 21:46:59 +01:00
Petr Benes 4515b43433 bump version v0.11 2019-01-10 22:27:53 +01:00
Petr Benes bd3f0621cc do not print meaningless "TAG_UNNAMED_" comments 2019-01-10 22:27:47 +01:00
Petr Benes 910baddd07 fix wrong bitfield generation 2019-01-10 22:14:21 +01:00
Petr Benes 5e582bb848 bump version v0.10 2019-01-10 21:51:29 +01:00
Petr Benes c813a99777 support unnamed bitfield fields 2019-01-10 21:51:15 +01:00
Petr Benes 29addda668 fix typo 2019-01-10 21:50:21 +01: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
v0.9
2018-11-10 13:17:30 +01:00
Petr Benes f8e9e33daa handle "<anonymous-tag>" names (since Win10 build 18277) v0.6 2018-11-08 21:43:30 +01:00
Petr Benes 5ab22419e4 ignore and remove .vcxproj.user file v0.4 2018-08-24 19:45:21 +02:00
Petr Benes 0b3206701b bump version 2018-08-24 19:45:21 +02:00
Petr Benes de4851aab2 cosmetic changes 2018-08-24 19:45:21 +02:00
Petr Benes bfcafc63f6 add '-f' option to print list of functions 2018-08-24 19:45:21 +02:00
Petr Benes 17cfe1488c add '%' option to dump all symbols to separate files 2018-08-24 19:45:16 +02:00
Petr Benes 97ec118e9c add support for sorting, print enums in declaration list 2018-08-24 19:40:33 +02:00
Petr Benes 7194353d0e fix late close of struct {} v0.3 2018-05-20 19:59:55 +02:00
Petr Benes e52da50c4c fix whitespaces 2018-05-20 19:57:45 +02:00
Petr Benes 5dbece8130 turn on multiprocessor compilation 2018-05-20 19:57:05 +02:00
Petr Benes a275a0804b use #pragma pack instead of <StructMemberAlignment
* update test.py
* use VS2017
2018-05-20 19:56:52 +02:00
Petr Benes c54781397b add appveyor badge [skip ci] v0.2 2017-11-25 16:25:39 +01:00
Petr Benes b8fe548978 upgrade to 2017, add appveyor (new build is using DIA) 2017-11-25 16:25:32 +01:00
Petr Benes 20847016fc remove unnecessary slash in additional include dirs 2016-01-06 00:56:10 +01: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 6424b088eb fix of accessing out of bounds memory 2016-01-06 00:18:16 +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