Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix file names in dwarf5 line tables | Neeraj Singh | 2021-12-02 | 1 | -5/+4 |
| | |||||
* | DWARF5 rnglists and loclists | Neeraj Singh | 2021-12-02 | 1 | -0/+11 |
| | | | | | 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 | 1 | -1/+22 |
| | | | | | 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 | 1 | -6/+7 |
| | | | | | 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 | 1 | -17/+83 |
| | | | | | | | | | | | 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 | 1 | -4/+16 |
| | | | | | | | | | | 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 | 1 | -4/+26 |
| | | | | | | | | | | | 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. | ||||
* | Add rudimentary support for DWARF5 | Johannes Schindelin | 2021-10-29 | 1 | -0/+23 |
| | | | | | | | | | | | 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 | 1 | -0/+16 |
| | |||||
* | Delay adding lines until we know the end of the line's address range | Marc Aldorasi | 2019-02-13 | 1 | -23/+2 |
| | |||||
* | Improve merging DWARF_InfoData | Marc Aldorasi | 2019-02-06 | 1 | -2/+5 |
| | |||||
* | Exclude artificial functions and inherit attributes from abstract origins | Marc Aldorasi | 2019-02-04 | 1 | -21/+27 |
| | |||||
* | Try harder to get function entry points | Marc Aldorasi | 2019-02-04 | 1 | -0/+4 |
| | |||||
* | DWARF: fixed converting unnamed structs/unions as part of other structs | Rainer Schuetze | 2019-01-25 | 1 | -0/+2 |
| | |||||
* | fix issue #43: initialize DWARF_LineState's members file_ptr and last_addr | Rainer Schuetze | 2018-12-21 | 1 | -0/+3 |
| | |||||
* | DWARF: | Rainer Schuetze | 2018-04-21 | 1 | -4/+4 |
| | | | | | | - fix code only executed in debug builds - fix evaluation of DW_OP_const1u/DW_OP_const1s not advancing pointer - add support for local variables with location list via DW_FORM_sec_offset | ||||
* | fix signed/unsigned warnings | Rainer Schuetze | 2018-03-30 | 1 | -3/+3 |
| | |||||
* | dwarflines: fix last insn. address computation for DW_LNE_end_sequence | Pierre-Marie de Rodat | 2018-03-23 | 1 | -2/+11 |
| | |||||
* | CV2PDB::addDWARFEnum: new, first attempt at enum types translation | Pierre-Marie de Rodat | 2018-03-23 | 1 | -0/+4 |
| | |||||
* | CV2PDB::getDWARFSubrangeInfo: use language-specific default lower bound | Pierre-Marie de Rodat | 2018-03-23 | 1 | -0/+2 |
| | |||||
* | DWARF_InfoData: track the DW_AT_language attribute | Pierre-Marie de Rodat | 2018-03-23 | 1 | -0/+2 |
| | |||||
* | DIECursor::readNext: use -1u for missing DW_AT_ranges attributes | Pierre-Marie de Rodat | 2018-03-21 | 1 | -2/+3 |
| | | | | | 0 is actually a valid .debug_ranges offset, so use something really unlikely for the "no value" special constant instead. | ||||
* | fix DWARF for gcc 4.9.0 and clang 3.6 | Rainer Schuetze | 2015-06-12 | 1 | -0/+1 |
| | |||||
* | DWARF: fix struct/class conversion, array limits, replace '.' with '@' in names | Rainer Schuetze | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | DWARF: fix displaying locals if there are no function arguments | Rainer Schuetze | 2015-06-09 | 1 | -0/+3 |
| | |||||
* | fix regression https://github.com/rainers/cv2pdb/issues/5: do not ignore ↵ | Rainer Schuetze | 2015-06-01 | 1 | -0/+1 |
| | | | | | | virtual size of sections avoid assertions for DW_AT_ranges with constant data | ||||
* | - new tool dumplines to display the debug line number info | Rainer Schuetze | 2015-05-08 | 1 | -1/+7 |
| | |||||
* | Build with Visual Studio 10 Compiler (Windows SDK 7.1) | Mirko Scholz | 2015-01-22 | 1 | -0/+1 |
| | |||||
* | Revamped location expression evaluator. | Vadim Chugunov | 2014-12-05 | 1 | -4/+20 |
| | |||||
* | Converted the remaining uses of the old decodeLocation(). | Vadim Chugunov | 2014-12-05 | 1 | -8/+23 |
| | |||||
* | Fix decodeLocation. | Vadim Chugunov | 2014-12-05 | 1 | -0/+10 |
| | |||||
* | Revamped DIE reading. | Vadim Chugunov | 2014-12-05 | 1 | -46/+65 |
| | | | | My decodeLocation. | ||||
* | Fixed O^n abbrev search. | Vadim Chugunov | 2014-12-05 | 1 | -0/+308 |
DIE tree navigation without requiring DW_AT_sibling attributes, moved navigation logic into DIECursor class. |