summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* DWARF: fix line info translation for pointer_size 8Rainer Schuetze2018-07-183-14/+20
| | | | do not assert for "Block" in DW_AT_upper_bound (but not supported)
* Fix PEImage::dumpDebugLineInfoCOFF()Dakota Hawkins2018-07-171-17/+34
| | | | | | Fixes #31 Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>
* DWARF:Rainer Schuetze2018-04-213-35/+44
| | | | | | - 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
* Debug directory aligning moved to PEImage::replaceDebugSection.AlexWhiter2018-04-082-8/+7
|
* Fixed misspelled identifier.AlexWhiter2018-04-071-1/+1
|
* Cleanup of RSDS block after allocation.AlexWhiter2018-04-071-3/+3
|
* 1. If exe-file consisted of just a disk letter and a file name (i.e. ↵AlexWhiter2018-04-053-5/+9
| | | | | | c:file.exe), AV occured. 2. Aligning the debug section offset to the closest 16-byte boundary.
* simplify code flowRainer Schuetze2018-03-311-18/+20
|
* refactor common part of embedded CV and DBG into functionRainer Schuetze2018-03-312-42/+38
| | | | DBG: exported names better fit strtable than symtable
* Reverting PEImage.h to the original state.AlexWhiter2018-03-301-0/+1
|
* Don't check IMAGE_FILE_DEBUG_STRIPPED flag. Check if DBG file exists instead.AlexWhiter2018-03-302-10/+14
|
* Wrong version was previously committed.AlexWhiter2018-03-301-2/+1
|
* RSDS section writing into EXE with symbols in DBG file.AlexWhiter2018-03-304-17/+39
|
* Fixed the calculation of IMAGE_DEBUG_DIRECTORY offset in DBG files.AlexWhiter2018-03-301-1/+1
|
* add partial support to convert DBG to PDBRainer Schuetze2018-03-303-3/+67
|
* fix signed/unsigned warningsRainer Schuetze2018-03-302-7/+6
|
* cv2pdb.h: add missing #include <stdint.h> to build with VS 12.0Pierre-Marie de Rodat2018-03-231-0/+2
|
* CV2PDB::addDWARFEnum: provide a default name for enumeration typesPierre-Marie de Rodat2018-03-231-2/+3
| | | | | | | It seems that UDTs (User Defined Types) are required to have names, otherwise the resulting PDB type stream is considered to be corrupted. So just like what we do for structure types, provide a default type name for enumeration types.
* CV2PDB::addDWARFEnum: fix handling of big enumerated typesPierre-Marie de Rodat2018-03-231-12/+87
|
* CV2PDB::appendModifierType: uncomment code to add paddingPierre-Marie de Rodat2018-03-231-2/+2
| | | | | This prevents the generation of corrupt TPI streams, as padding is required at the end of leaves.
* Fix LF_ENUMERATE emission for values > 0x8000Pierre-Marie de Rodat2018-03-231-6/+10
|
* dwarflines: fix last insn. address computation for DW_LNE_end_sequencePierre-Marie de Rodat2018-03-231-2/+11
|
* Fix handling of discontinuous address ranges on X64Pierre-Marie de Rodat2018-03-231-2/+13
|
* Reduce complexity of best CFA lookupsPierre-Marie de Rodat2018-03-233-15/+101
| | | | | This turns a linear lookup into a logarithmic binary search, which improves a lot DWARF to PDB conversion for big programs.
* Do not crash when handling anonymous entitiesPierre-Marie de Rodat2018-03-231-0/+4
| | | | | C allows some types like enums or structs to be anonymous. Process them as if they had empty names.