Commit Graph

19 Commits

Author SHA1 Message Date
cf7d0c22f7 Add support for reversed CRCs in elfpatching 2023-01-15 21:21:00 +01:00
b47828014e Fix style issues in elfpatch.c 2023-01-06 20:24:12 +01:00
c41214fc75 Finish import/export functionality 2023-01-06 18:43:47 +01:00
1528700d31 Add reading of LMA 2023-01-06 16:17:55 +01:00
376ef75964 Correctly implement LMA calculation. 2023-01-06 16:06:51 +01:00
0df385e4e7 Add LMA to handling of XML and debug output. LMA notr yet correclty calculated and is always equal to VMA 2023-01-06 15:12:45 +01:00
eeb2027884 reimplement reading of program headers. They are needed to derive the LMA of sections 2023-01-06 14:55:31 +01:00
18d9c1fced Merge branch 'master' into xml-export 2023-01-04 15:15:03 +01:00
2fca25d4c0 Fix segmentation fault if a NOBITS section is specified for output 2023-01-04 15:07:01 +01:00
e09a07b3d3 Fix segmentation fault if a NOBITS section is specified as a source section 2023-01-04 15:04:06 +01:00
5b86194734 Remove reading of program headers. It is not necessary. 2023-01-04 14:53:25 +01:00
ea81d0a8fd XML Export / Import Progress:
* Exporter finished
* Imported started. Currently reading in nodes and printing them.
* Add XSD file for automatic validation. Working.

TODO:
* Correcly handle main logic of import export
* Finish importer
2023-01-03 23:08:29 +01:00
f4f373d65d Readout elf endianess and print error on mismatch 2022-12-17 19:33:13 +01:00
681a66e127 Start XML export functiionality 2022-12-17 19:15:45 +01:00
320b0ce650 It is too late. Fix bugs again... 2022-10-25 22:27:56 +02:00
9aa82975b1 Bugifx: Fix CRCs not being written to section 2022-10-25 22:23:39 +02:00
dafd51a376 Bugfix: Fix broken segment table. Manually enforce original layout 2022-10-25 22:02:11 +02:00
c033ec7206 Add man page 2022-10-25 18:17:54 +02:00
19a84ef4f2 Move source code to SRC folder and start doxygen 2022-10-24 20:47:38 +02:00