readexe version 0.1 (Announce)
Hi, many years ago I coded a simple tool EXeinfo that probably do similar things to yours. Feel free to try out and compare results if you want. I just wrote it when learning about exe a bit myself...
http://rayer.g6.cz/programm/programe.htm#EXEINFO
Bwt about C and bitfields. I don't hesitate using bitfields and unions and manipulate them by memcpy, fread, typecast and it works fine for me, at least ingcc that I mostly use. I just need to use attribute packed to avoid byte field alignment including memory holes, when structure is packed there are nobholes and all works as expected. I usualy compile my tools for Dos/Windows/Linux with gcc toolchains Djgpp/Mingw/native 32/64b linux gcc and I didn't have a problem. Also some code was ported to 8b atmel AVR and 32b ARM also runnig fine there. But I don't suggest anybody to break/abuse C ruled in general but in some case it makes life easier... :)
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- readexe version 0.1 - segin, 08.08.2023, 18:08 (Announce)
- readexe version 0.1 - DosWorld, 09.08.2023, 23:30
- readexe version 0.1 - segin, 11.08.2023, 12:49
- readexe version 0.1 - tkchia, 10.08.2023, 21:08
- readexe version 0.1 - segin, 11.08.2023, 12:46
- readexe version 0.1 - tkchia, 11.08.2023, 12:59
- readexe version 0.1 - segin, 11.08.2023, 13:50
- readexe version 0.1 - tkchia, 11.08.2023, 12:59
- readexe version 0.1 - segin, 11.08.2023, 12:46
- readexe version 0.1 - RayeR, 15.08.2023, 19:01
- readexe version 0.1 - segin, 15.08.2023, 19:53
- readexe version 0.1 - segin, 22.08.2023, 00:49
- readexe version 0.1 - Oso2k, 22.08.2023, 08:11
- readexe version 0.1 - Rugxulo, 22.08.2023, 15:51
- readexe version 0.1 - segin, 15.08.2023, 19:53
- readexe version 0.1 - DosWorld, 09.08.2023, 23:30