Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add comments to various files | Alex Budovski | 2023-03-24 | 4 | -0/+38 |
| | | | | | This is just a preparatory change to improve the documentation in the code. No functional changes. | ||||
* | Fixed building with VS 2022 | Marc Aldorasi | 2023-03-10 | 1 | -0/+1 |
| | |||||
* | Apply PR feedback | Dennis Ameling | 2022-09-19 | 1 | -2/+2 |
| | |||||
* | Throw runtime error on ARM64 cvt80to64 | Dennis Ameling | 2022-09-18 | 1 | -1/+6 |
| | |||||
* | Add Windows ARM64 support | Dennis Ameling | 2022-09-17 | 1 | -0/+80 |
| | |||||
* | fix issue #75: avoid emitting bad debug info if struct description exceeds ↵ | Rainer Schuetze | 2022-05-28 | 2 | -7/+16 |
| | | | | 64 kB, clipped for now | ||||
* | fix issue #76: Invalid form=11 for directory index | Rainer Schuetze | 2022-05-11 | 1 | -10/+10 |
| | | | | support DW_FORM_data1 and DW_FORM_data2 in DW_LNCT_directory_index | ||||
* | fix issue #72: Hang when vswhere produces no output | Rainer Schuetze | 2022-03-27 | 1 | -1/+3 |
| | | | | close write handle before reading from the pipe | ||||
* | Fixed improperly splitting a range containing the entry point | Marc Aldorasi | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | Use the default msvc version instead of forcing v120_xp only for 32-bit ↵ | Marc Aldorasi | 2022-01-11 | 1 | -2/+2 |
| | | | | release mode | ||||
* | Add function entries for non-contiguous functions | Marc Aldorasi | 2022-01-11 | 3 | -32/+96 |
| | |||||
* | fix for UNC path (#70) | sonyps5201314 | 2021-12-29 | 1 | -0/+10 |
| | | | | * fix for UNC path | ||||
* | fix version displayv0.50 | Rainer Schuetze | 2021-12-13 | 1 | -1/+1 |
| | |||||
* | update to veersion 0.50 | Rainer Schuetze | 2021-12-13 | 1 | -1/+1 |
| | | | | adapt dumplines.cpp to changes | ||||
* | Fix file names in dwarf5 line tables | Neeraj Singh | 2021-12-02 | 2 | -25/+74 |
| | |||||
* | DWARF5 rnglists and loclists | Neeraj Singh | 2021-12-02 | 2 | -31/+169 |
| | | | | | Add support for the new opcode-based format for location lists and range lists. | ||||
* | read all dwarf5 main DIE forms | Neeraj Singh | 2021-12-02 | 2 | -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 Singh | 2021-12-02 | 5 | -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 cursor | Neeraj Singh | 2021-12-02 | 5 | -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 DIECursor | Neeraj Singh | 2021-12-02 | 4 | -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 Singh | 2021-12-02 | 9 | -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.exe | Johannes Schindelin | 2021-11-03 | 1 | -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 DWARF5 | Johannes Schindelin | 2021-10-29 | 5 | -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.48 | Rainer Schuetze | 2020-05-08 | 2 | -4/+39 |
| | |||||
* | introduce a symbol cache | oltolm | 2020-05-04 | 3 | -26/+38 |
| | |||||
* | DWRAF: fix BSS handling and symbol-section | Rainer Schuetze | 2020-03-30 | 2 | -3/+4 |
| | |||||
* | fix issue #59: add DWARF support for symbol to imported data | Rainer Schuetze | 2020-03-26 | 3 | -4/+34 |
| | |||||
* | fix loading 64-bit mspdb140.dll in VS2019 | Rainer Schuetze | 2020-03-09 | 1 | -0/+22 |
| | |||||
* | adapt wchar/dchar to newer versions of dmd, add cent/ucent | Rainer Schuetze | 2020-03-09 | 1 | -1/+4 |
| | |||||
* | Force invalidation of the symbol table offset | Johannes Schindelin | 2020-03-08 | 1 | -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 32kB | Rainer Schuetze | 2019-07-18 | 1 | -4/+4 |
| | |||||
* | Don't write line sequences containing decreasing addresses | Marc Aldorasi | 2019-02-15 | 1 | -1/+6 |
| | |||||
* | Removed unnecessary header | Marc Aldorasi | 2019-02-13 | 1 | -2/+0 |
| | |||||
* | Delay adding lines until we know the end of the line's address range | Marc Aldorasi | 2019-02-13 | 2 | -61/+61 |
| | |||||
* | VS2013 doesn't like lambdas with auto parameters | Marc Aldorasi | 2019-02-07 | 1 | -1/+1 |
| | |||||
* | Work around ld bug 24192 | Marc Aldorasi | 2019-02-07 | 1 | -6/+1 |
| | |||||
* | Rewrite line translation to handle decreasing line numbers | Marc Aldorasi | 2019-02-07 | 1 | -30/+36 |
| | |||||
* | Improve merging DWARF_InfoData | Marc Aldorasi | 2019-02-06 | 2 | -3/+10 |
| | |||||
* | Exclude artificial functions and inherit attributes from abstract origins | Marc Aldorasi | 2019-02-04 | 3 | -55/+88 |
| | |||||
* | Try harder to get function entry points | Marc Aldorasi | 2019-02-04 | 3 | -3/+56 |
| | |||||
* | DWARF: fixed converting unnamed structs/unions as part of other structs | Rainer Schuetze | 2019-01-25 | 4 | -62/+100 |
| | |||||
* | adjust fomrattingreadme_md | Rainer Schuetze | 2019-01-24 | 1 | -3/+6 |
| | |||||
* | update README with existing options | Rainer Schuetze | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | select Windows SDK automatically | Rainer Schuetze | 2019-01-06 | 3 | -0/+24 |
| | |||||
* | fix issue #43: initialize DWARF_LineState's members file_ptr and last_addr | Rainer Schuetze | 2018-12-21 | 1 | -0/+3 |
| | |||||
* | emit "elemtype[keytype]" instead of "dAssocArray" | Rainer Schuetze | 2018-12-16 | 1 | -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 .dbg | Rainer Schuetze | 2018-12-12 | 2 | -7/+12 |
| | |||||
* | fix #41: cv2pdb crashes if mspdb*.dll cannot be loaded from path | Rainer Schuetze | 2018-12-12 | 1 | -1/+3 |
| | |||||
* | add Setup.Configuration package contents and reference them directly | Rainer Schuetze | 2018-09-29 | 4 | -6/+1029 |
| | |||||
* | Add Visual Studio detection by the COM API | Akihiko Odaki | 2018-09-27 | 4 | -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. |