Commit Graph

46 Commits

Author SHA1 Message Date
Aetias d4c64d9af9 Handle reloc R_ARM_SBREL32 2024-05-26 12:32:44 +02:00
Aetias 71de77681c Unwrap code section in arm.rs 2024-05-23 16:49:38 +02:00
Aetias 0f9dd7ed41 Merge branch 'main' into arm 2024-05-23 16:46:02 +02:00
Luke Street f30b3cfae2 Default "Space between args" -> true 2024-05-21 18:09:46 -06:00
Luke Street 9e57a66a05 Auto-detect MIPS ABI/category & add config
Under Diff Options -> Arch Settings, one
can override the ABI/instruction category
2024-05-21 18:06:14 -06:00
Luke Street e254af5acf Support bss and text section diffing
Display section diff % in symbols view
2024-05-21 12:02:00 -06:00
Luke Street 7148b51fe0 x86: Handle IMAGE_REL_I386_REL32 LabelAddress
Resolves #57
2024-05-21 10:16:45 -06:00
Aetias 31e9c14681 Allow None section when parsing line info
Fixes an error upon ending the last DWARF sequence
2024-05-21 10:10:16 -06:00
Aetias 5d42c24dc1 Get line info from section; output formatted ins string 2024-05-21 18:01:32 +02:00
Luke Street 94f1f07b00 Bump to 2.0.0-alpha.1 & fix version checks 2024-05-21 09:55:45 -06:00
Aetias f5b5a612fc Display correct line numbers for multiple .text sections (#63)
* Support multiple DWARF sequences

* Rework DWARF line info parsing

- Properly handles multiple sections
  in DWARF 1
- line_info moved into ObjSection
- DWARF 2 parser no longer errors with
  no .text section
- Both parsers properly skip empty
  sections

* Simplify line_info (no Option)

---------

Co-authored-by: Luke Street <luke.street@encounterpc.com>
2024-05-21 09:55:39 -06:00
Aetias 8862d95b26 Merge branch 'line-info' into arm 2024-05-21 17:39:20 +02:00
Luke Street 88af321192 Simplify line_info (no Option) 2024-05-21 09:24:06 -06:00
Luke Street 22a24f37f5 Diff data symbols & improve symbol match logic 2024-05-20 23:53:37 -06:00
Luke Street ee9cef4c6f Rework DWARF line info parsing
- Properly handles multiple sections
  in DWARF 1
- line_info moved into ObjSection
- DWARF 2 parser no longer errors with
  no .text section
- Both parsers properly skip empty
  sections
2024-05-20 21:05:43 -06:00
Luke Street 916f6eaff7 Merge branch 'refs/heads/main' into line-info
# Conflicts:
#	objdiff-core/src/arch/x86.rs
2024-05-20 17:41:23 -06:00
Aetias 854dc9e4f5 Use base arch when processing base code (#62) 2024-05-20 17:38:58 -06:00
Luke Street 5bfaaaaf65 Instruction hover / context menu improvements 2024-05-20 17:38:20 -06:00
Aetias e5ee898834 Update line info 2024-05-20 20:52:59 +02:00
Aetias de744f382c Merge branch 'line-info' into arm 2024-05-20 20:52:25 +02:00
Aetias ff910d94c9 Support multiple DWARF sequences 2024-05-20 20:50:00 +02:00
Aetias 2d06abec19 Fallback to mapping symbol $a 2024-05-18 15:38:30 +02:00
Aetias 7733459715 Disasm ARM/Thumb/data based on mapping symbols 2024-05-18 09:26:30 +02:00
Aetias 609a6689a1 Disassemble const pool reloc 2024-05-17 18:09:02 +02:00
Aetias e9b8730b66 Merge remote-tracking branch 'origin/main' into arm 2024-05-17 18:07:37 +02:00