Commit Graph

18 Commits

Author SHA1 Message Date
Théophile Bastian e90e51fc2a Match with file names instead of file ids
It seems possible that two runs of eg. gcc at different levels of
optimisation on the same files assigns different IDs to the same files.
To circumvent this, we use the file paths instead of file IDs.
2019-11-22 12:46:47 +01:00
Théophile Bastian 89ac1b8368 add_box_excl: use greater address below bound
It is possible, eg. for the end-of-data debug_line tag, that the address
does not correspond to an instruction address but eg. the last address
of .text. To avoid an error here, we use as a bound address the greater
known address below the given bound instead.
2019-11-22 12:44:46 +01:00
Théophile Bastian d738314490 Collapse irrelevant subroutines 2019-11-20 15:56:56 +01:00
Théophile Bastian b87020a5cd Ignore .dwarf_line entries of span 0
Some entries in .dwarf_line might span 0 instructions, because a
following entry refers to exactly the same address. An enhancement might
be to make all these addresses equivalent in the matcher.
2019-11-20 15:21:17 +01:00
Théophile Bastian 24a68dbba2 Show equivalence classes in html output 2019-11-20 15:20:53 +01:00
Théophile Bastian 2a6936a5da Match asm blocks with debug_line 2019-11-19 12:52:09 +01:00
Théophile Bastian e918374675 Add prog path in render data 2019-11-18 13:58:47 +01:00
Théophile Bastian caac87e70a Allow rendering of multiple files side by side 2019-11-18 13:48:20 +01:00
Théophile Bastian 4583ad6a92 elf_arrows: add boxes according to debug_lines 2019-11-18 13:13:23 +01:00
Théophile Bastian 520d9527ab Modify elf_arrows accordingly 2019-11-18 11:35:27 +01:00
Théophile Bastian 700ca3db7f Add HTML rendering 2019-11-18 11:34:50 +01:00
Théophile Bastian 5548c7d1c6 Add asm annotated type 2019-11-18 11:34:14 +01:00
Théophile Bastian 99adfcaa39 asm_info_t: StrMap -> List 2019-09-30 09:26:06 +02:00
Théophile Bastian 5c83f4e1b4 Add main function `acquire_asm` in Asm_acquire 2019-09-27 16:45:08 +02:00
Théophile Bastian 8038a92e89 Parse objdump output + test code 2019-09-27 16:38:31 +02:00
Théophile Bastian c54547dad9 Add asm acquisition boilerplate 2019-09-26 17:22:40 +02:00
Théophile Bastian 24383471fd Add basic test 2019-09-26 16:35:41 +02:00
Théophile Bastian 737a2b51a8 Initial commit 2019-09-20 11:52:41 +02:00