A utility for ELF header experiments written in Zig
git clone http://ratfactor.com/repos/mez/mez.git
Commit history
commit 267867c390b2264afb73a930abc853f2a60f63d2
Author: Dave Gauer
Date: Mon Nov 20 15:25:48 2023 -0500
Accept input file name as command line arg
(Used to be hard-coded to read a file named "foo"!)
commit 01252d7a5ef5f37500f9a55192ed9093fce660d2
Author: Dave Gauer
Date: Wed Nov 1 07:51:04 2023 -0400
Updated README to reflect 'finished' state for now
commit 2c645af3a6603756da3a6490d673b8662dd15c15
Author: Dave Gauer
Date: Tue Oct 31 22:08:46 2023 -0400
Zem writes working 2-segment ELF executable!!!
commit f718ce3e9db66688d9bcf8015cc343ea7a9f9a97
Author: Dave Gauer
Date: Tue Oct 31 08:00:11 2023 -0400
Added terminal output as HTML to readme
Generated with xfce4-terminal "Copy as HTML" feature
commit 4f943db8f2de579d5dd7aed6ef69220eaf5babb1
Author: Dave Gauer
Date: Mon Oct 30 22:03:38 2023 -0400
Have data dump and skip-to-entry working again
commit cd93d681c0cec52df39fded89f918322120a7a71
Author: Dave Gauer
Date: Mon Oct 30 15:55:16 2023 -0400
Segment load data hex dump printing in there
Looking quite nice!
commit df5a78e854bdfa18b6eba6fba67a3df56d9f1a65
Author: Dave Gauer
Date: Mon Oct 30 14:10:14 2023 -0400
WIP: program header decoding done (again)
commit 29a2aa5eeac614ae8d5fd38a1df5a9599037bc17
Author: Dave Gauer
Date: Mon Oct 30 09:35:35 2023 -0400
WIP: Total re-write of mez.zig - so pretty!
commit ef58943db8285ae65c5ebfa69f398f174af4955c
Author: Dave Gauer
Date: Fri Oct 27 07:32:07 2023 -0400
WIP: Writing an ELF file from zem is going well
commit 5edd26452ba0b9d0b56dce79a3c83889b38398ea
Author: Dave Gauer
Date: Thu Oct 26 19:11:10 2023 -0400
WIP: New zem will write test ELF file
zem writes
mez reads
commit 23a58197f9c8115f4c3c706caa5abbe97c45d707
Author: Dave Gauer
Date: Wed Oct 25 11:42:50 2023 -0400
Update README with new output format
commit 4f0b6c2576d5d8555ab07584311ec703df28de04
Author: Dave Gauer
Date: Tue Oct 24 20:16:54 2023 -0400
Skips to entry position and displays two more lines of data
Plus sweet ANSI colors and better formatting
commit 8ed4a46e029f4bc7d14522e3bfbee285e03969f1
Author: Dave Gauer
Date: Tue Oct 24 16:32:48 2023 -0400
WIP: Making incomplete memory display obvious
And preparing to show program entry chunk in a really obvious way :-)
commit bb82256c0a56ca8f99ddc30fe34fbc69a8e2c51b
Merge: 1f84a80 d9c4bcb
Author: Dave Gauer
Date: Tue Oct 24 11:33:34 2023 -0400
Merge branch 'main' of phobos:repos/mez
commit 1f84a808b4cea132afedf0f46c434c9eec0c4862
Author: Dave Gauer
Date: Tue Oct 24 11:32:00 2023 -0400
New display: segments with hex/ascii view of contents
commit d9c4bcb04de9274475f666ccd919ac7fae1b6584
Author: Dave Gauer
Date: Thu Oct 19 11:25:09 2023 -0400
Remove "moved from github" message from README
commit 5fcca0601d1e480f1096b66f25d330cb6d35ab8b
Author: Dave Gauer
Date: Thu Oct 19 11:20:02 2023 -0400
WIP make_elf64.zig
commit 5f264b15eff18110ca0a0bd35f2b6d792b0f3235
Author: Dave Gauer
Date: Wed Sep 27 18:46:27 2023 -0400
moving to ratfactor.com
commit 5fbf3bdc50f62b119d6a306ff565cfec31628d69
Author: Dave Gauer
Date: Tue May 9 15:10:27 2023 -0400
Updated readme with run example
Because it is so pretty.
commit c4dc4e742bcbb107c0d3416c228c1d600cc5782a
Author: Dave Gauer
Date: Tue May 9 15:04:56 2023 -0400
Print const (de-verbosify), segment ASCII box art
commit 4f295ecaae9dee049ea9625055fcf45d27c52dbe
Author: Dave Gauer
Date: Tue May 9 13:56:22 2023 -0400
Casts header data, parses program headers
commit 2ee1bb9ef36f1da4ad50850f590acc8a6507af85
Author: Dave Gauer
Date: Fri May 5 22:10:25 2023 -0400
Proper cast to integers
Now I can start using the header values to
explore the program headers...
commit a6e9d3ef7e4300e11d1616bb825a40d1300d1ed4
Author: Dave Gauer
Date: Sat Apr 29 22:40:54 2023 -0400
Main header complete
commit d1e118b8b01b524f96ee3ba52b945a8eb40e0a17
Author: Dave Gauer
Date: Fri Apr 28 22:15:05 2023 -0400
Fixed mistake in header gettin'
commit 0b131bf9b1dbb9031f00521f122f4ea7eafc929d
Author: Dave Gauer
Date: Wed Apr 26 21:47:45 2023 -0400
More ELF header decoding and checking
commit e6735aff9a864701a66c3ec9d14877009131e79e
Author: Dave Gauer
Date: Tue Apr 25 22:00:01 2023 -0400
Prints little-endian program start addr
commit 80afc9ead0b44ecbf8a23757dd9d4139067a52ea
Author: Dave Gauer
Date: Mon Apr 24 22:05:06 2023 -0400
added build script
commit c772da1e26795be4a60c53b1b404146715096b23
Author: Dave Gauer
Date: Sun Apr 23 14:06:00 2023 -0400
oh for
commit 9eadcffce71deda42d8360b19a5efbdc22899830
Author: Dave Gauer
Date: Sun Apr 23 14:05:23 2023 -0400
rEAdmE
commit bdd731d8b85b6872a53e53a5785df81d52543f58
Author: Dave Gauer
Date: Sun Apr 23 13:52:00 2023 -0400
Initial commit - reads the magic number from header