Commit Graph

44 Commits

Author SHA1 Message Date
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
2c50964581 Add preliminary code to read CRCs from XML. CRC value still missing 2023-01-04 21:42:12 +01:00
fda6e92615 Successfully import CRC config data 2023-01-04 19:54:27 +01:00
5d86a261d4 Add dependencies to PKGBUILD 2023-01-04 15:56:49 +01:00
598394cc2d Merge branch 'master' into xml-export 2023-01-04 15:18:19 +01:00
27580b5f32 Correctly free CRC array 2023-01-04 15:17:35 +01:00
18d9c1fced Merge branch 'master' into xml-export 2023-01-04 15:15:03 +01:00
aaa7bdd288 Merge pull request 'Fix #1: Segmentation fault when using NOBITS sections' (#2) from fix-segmentation-fault into master
Reviewed-on: #2
2023-01-04 15:11:48 +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
b3827b25c6 Add --xsd option to print out the used XSD 2023-01-04 14:47:19 +01:00
3bd46d888d Improve XSD and XML format 2023-01-04 14:35:34 +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
baa34c7525 Fix typo in PKGBUILD 2022-10-25 18:21:27 +02:00
c033ec7206 Add man page 2022-10-25 18:17:54 +02:00
7e56af08bf Add first draft of markdown for generation of man page 2022-10-24 21:18:49 +02:00
19a84ef4f2 Move source code to SRC folder and start doxygen 2022-10-24 20:47:38 +02:00
f3f7b1a7ad Comment code and add last missing cmd parameters 2022-10-24 19:47:48 +02:00
6f0e4d4c8e Implement STRUCT output format 2022-10-24 18:49:16 +02:00
fcbc8890a4 Update pkgver 2022-10-23 16:09:06 +02:00
5e7f697a64 Fix error in install script 2022-10-23 16:03:42 +02:00
ecd3b97ffa Fix errors in PKGBUILD 2022-10-23 16:02:15 +02:00
c0178ebc4a Add PKGBUILD for arch 2022-10-23 16:00:15 +02:00
341e0cecf8 Implement first working draft of CRC patching 2022-10-23 15:45:31 +02:00
c8da6e4f4c Implement CRC calculation of input sections 2022-10-20 21:36:54 +02:00
57be15d909 Change mail address 2022-10-20 21:09:06 +02:00
af785f0ef3 Implement CRC calculation for section 2022-10-20 19:25:29 +02:00
0278cb19d4 Update ELF parser. Sectionr eading implemented 2022-10-18 22:33:32 +02:00
fb5f527f45 Implement ELF file opening 2022-10-16 20:51:29 +02:00
dd9eb898a8 Fix CRC XOR value 2022-10-02 21:42:35 +02:00
ea00a0756e Fix bug in Named CRC lookup 2022-09-06 22:26:07 +02:00
8f19470db3 Implement first draft of CRC core 2022-09-05 20:46:43 +02:00
9ee80cc8f7 Add linked list for input sections 2022-08-20 11:26:04 +02:00
9b803a887e Add option to list predefined CRCs 2022-08-19 22:16:11 +02:00
3040d8a23f Implement predefined CRCs and add libfort 2022-08-19 21:58:18 +02:00
199b48d963 Add version handling 2022-08-16 22:27:37 +02:00
9107a2797c Start first draft 2022-08-16 21:42:23 +02:00