summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add comments to various filesAlex Budovski2023-03-244-0/+38
| | | | | This is just a preparatory change to improve the documentation in the code. No functional changes.
* Fixed building with VS 2022Marc Aldorasi2023-03-101-0/+1
|
* Apply PR feedbackDennis Ameling2022-09-191-2/+2
|
* Throw runtime error on ARM64 cvt80to64Dennis Ameling2022-09-181-1/+6
|
* Add Windows ARM64 supportDennis Ameling2022-09-171-0/+80
|
* fix issue #75: avoid emitting bad debug info if struct description exceeds ↵Rainer Schuetze2022-05-282-7/+16
| | | | 64 kB, clipped for now
* fix issue #76: Invalid form=11 for directory indexRainer Schuetze2022-05-111-10/+10
| | | | support DW_FORM_data1 and DW_FORM_data2 in DW_LNCT_directory_index
* fix issue #72: Hang when vswhere produces no outputRainer Schuetze2022-03-271-1/+3
| | | | close write handle before reading from the pipe
* Fixed improperly splitting a range containing the entry pointMarc Aldorasi2022-01-121-1/+1
|
* Use the default msvc version instead of forcing v120_xp only for 32-bit ↵Marc Aldorasi2022-01-111-2/+2
| | | | release mode
* Add function entries for non-contiguous functionsMarc Aldorasi2022-01-113-32/+96
|
* fix for UNC path (#70)sonyps52013142021-12-291-0/+10
| | | | * fix for UNC path
* fix version displayv0.50Rainer Schuetze2021-12-131-1/+1
|
* update to veersion 0.50Rainer Schuetze2021-12-131-1/+1
| | | | adapt dumplines.cpp to changes
* Fix file names in dwarf5 line tablesNeeraj Singh2021-12-022-25/+74
|
* DWARF5 rnglists and loclistsNeeraj Singh2021-12-022-31/+169
| | | | | Add support for the new opcode-based format for location lists and range lists.
* read all dwarf5 main DIE formsNeeraj Singh2021-12-022-5/+115
| | | | | Fill in Dwarf_InfoData for all DWARF5 forms excluding the new rnglists and loclists representations.
* Read DWARF5 header and add DWARF5 constants.Neeraj Singh2021-12-025-17/+123
| | | | | Handle the new DWARF5 compilation unit header and add new constants to dwarf.h. We still don't decode the new forms though.
* more pre-DWARF5 refactoring: unit headers, location cursor, range cursorNeeraj Singh2021-12-025-152/+243
| | | | | | | | | | | Read the compilation unit header byte-by-byte rather than by casting the data to a structure. Add the currentBaseAddress contextual info to the compilation unit data. Move the LOCCursor into readDwarf.cpp. Implement a RangeCursor similar to the LOCCursor. Add more debug printing.
* carry contextual information with the DIECursorNeeraj Singh2021-12-024-77/+91
| | | | | | | | | | DWARF5 has more contextual information that is associated with the compilation unit. As a preparation for using such information, carry it with the DIECursor and eliminate places where we're passing in the parent compilation unit. Also add the RDAddr helper to read a target-address according to the specification in the compilation unit.
* Refactor PE image section handling. Add debug logging.Neeraj Singh2021-12-029-171/+291
| | | | | | | | | | | Encapsulate dwarf-related PE sections into the PESection class. Remove some unused sections. Add helpers for common section operations. Move the context set via DIECursor::setContext to be static members of the class and add a debug context there. Add a standard method of enabling debug logging across the dwarf and PDB code.
* Allow the mspdb DLL to be found via vswhere.exeJohannes Schindelin2021-11-031-0/+67
| | | | | | | | | | | | | | The incredibly useful `vswhere.exe` tool can be used to abstract away all the nitty-gritty details of figuring out where Visual Studio is installed. This patch adds support for making use of that tool. Since spawning a process is pretty expensive compared to looking at the registry, we only fall back on this tool (if it exists) if the other methods to find the DLL have failed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Add rudimentary support for DWARF5Johannes Schindelin2021-10-295-27/+174
| | | | | | | | | | | This allows `cv2pdb` to process executables produced by the mingw-w64 version of GCC v11.x. The symptoms of the fixed issue would look like this: error: cannot add line number info to module Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* fix #61: implement DWARF4 line number headersv0.48Rainer Schuetze2020-05-082-4/+39
|
* introduce a symbol cacheoltolm2020-05-043-26/+38
|
* DWRAF: fix BSS handling and symbol-sectionRainer Schuetze2020-03-302-3/+4
|
* fix issue #59: add DWARF support for symbol to imported dataRainer Schuetze2020-03-263-4/+34
|
* fix loading 64-bit mspdb140.dll in VS2019Rainer Schuetze2020-03-091-0/+22
|
* adapt wchar/dchar to newer versions of dmd, add cent/ucentRainer Schuetze2020-03-091-1/+4
|
* Force invalidation of the symbol table offsetJohannes Schindelin2020-03-081-0/+13
| | | | | | | | | | | | | When writing a new `.exe`/`.pdb` pair, the `.exe` might not contain any symbols. Therefore, the stale info needs to be zeroed out. This lets `dumpbin` and `objdump` accept the generated `.exe` files without problems. This fixes https://github.com/rainers/cv2pdb/issues/35 and https://github.com/git-for-windows/git/issues/2200. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* DWARF: fix writing info for aggregates larger than 32kBRainer Schuetze2019-07-181-4/+4
|
* Don't write line sequences containing decreasing addressesMarc Aldorasi2019-02-151-1/+6
|
* Removed unnecessary headerMarc Aldorasi2019-02-131-2/+0
|
* Delay adding lines until we know the end of the line's address rangeMarc Aldorasi2019-02-132-61/+61
|
* VS2013 doesn't like lambdas with auto parametersMarc Aldorasi2019-02-071-1/+1
|
* Work around ld bug 24192Marc Aldorasi2019-02-071-6/+1
|
* Rewrite line translation to handle decreasing line numbersMarc Aldorasi2019-02-071-30/+36
|
* Improve merging DWARF_InfoDataMarc Aldorasi2019-02-062-3/+10
|
* Exclude artificial functions and inherit attributes from abstract originsMarc Aldorasi2019-02-043-55/+88
|
* Try harder to get function entry pointsMarc Aldorasi2019-02-043-3/+56
|
* DWARF: fixed converting unnamed structs/unions as part of other structsRainer Schuetze2019-01-254-62/+100
|
* adjust fomrattingreadme_mdRainer Schuetze2019-01-241-3/+6
|
* update README with existing optionsRainer Schuetze2019-01-241-1/+1
|
* select Windows SDK automaticallyRainer Schuetze2019-01-063-0/+24
|
* fix issue #43: initialize DWARF_LineState's members file_ptr and last_addrRainer Schuetze2018-12-211-0/+3
|
* emit "elemtype[keytype]" instead of "dAssocArray"Rainer Schuetze2018-12-161-37/+43
| | | | always convert S_BPREL_V1 to S_BPREL_V3 (no longer supported by mspdb 14.16.27012/VS 15.9)
* fix #40: set architecture of .pdb for a 64 bit .dbgRainer Schuetze2018-12-122-7/+12
|
* fix #41: cv2pdb crashes if mspdb*.dll cannot be loaded from pathRainer Schuetze2018-12-121-1/+3
|
* add Setup.Configuration package contents and reference them directlyRainer Schuetze2018-09-294-6/+1029
|
* Add Visual Studio detection by the COM APIAkihiko Odaki2018-09-274-0/+54
| | | | | The new COM API is expected to work on Visual Studio 2017 and newer installations. It is also compatible with non-x86 runtime.