{"id":16983990,"url":"https://github.com/ratfactor/mez","last_synced_at":"2026-02-28T09:30:15.454Z","repository":{"id":155791186,"uuid":"631655774","full_name":"ratfactor/mez","owner":"ratfactor","description":"One-off tool to help me debug my Meow5 ELF executables","archived":true,"fork":false,"pushed_at":"2023-09-27T22:46:27.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T09:12:17.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ratfactor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-23T17:52:09.000Z","updated_at":"2023-09-27T22:46:49.000Z","dependencies_parsed_at":"2023-09-28T03:47:13.065Z","dependency_job_id":null,"html_url":"https://github.com/ratfactor/mez","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratfactor%2Fmez","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratfactor%2Fmez/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratfactor%2Fmez/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratfactor%2Fmez/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ratfactor","download_url":"https://codeload.github.com/ratfactor/mez/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239872608,"owners_count":19711098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T02:29:49.821Z","updated_at":"2026-02-28T09:30:15.372Z","avatar_url":"https://github.com/ratfactor.png","language":"Zig","readme":"# MEZ = Meow5 + ELF + Zig\n\n**MOVED!** Hello, I am moving my repos to http://ratfactor.com/repos/\nand setting them to read-only (\"archived\") on GitHub. Thank you, _-Dave_\n\nThis is a one-off utility (at least so far) written in Zig\nto help me debug the 32-bit ELF executables I'm exporting\nfrom\n\u003ca href=\"https://ratfactor.com/meow5/\"\u003eMeow5\u003c/a\u003e,\nmy toy language experiment.\n\nThis tool is highly specific to solving my bug.\n\n(But, actually, I'm quite pleased with how nicely the\nprogram LOAD segment display turned out. Now my little\nbrain can _see_ what is going on!)\n\nExample output:\n\n    $ ./build.sh\n    $ ./mez\n    -----------------------------------------\n    Main ELF Header\n      0-3 - four bytes of magic (0x7f,'ELF'): Matched!\n        4 - 32-bit, as expected.\n        5 - little-endian, as expected.\n    24-27 - Program entry addr: 0x08048000\n    28-31 - Program header offset (in this file): 0x34\n    32-35 - Section header offset (in this file): 0x0\n    40-41 - Size of this header: 52 bytes\n    42-43 - Size of program header entries: 32 bytes\n    44-45 - Number of program entries: 2\n    -----------------------------------------\n    Program Header @ 0x34\n      Segment type: 1 ('load', as expected)\n      File offset: 0x0\n      File size: 4096 bytes\n      Target memory start: 0x8048000\n      Target memory size: 4096 bytes\n      Memory mapping:\n        +--------------------+     +--------------------+\n        | File               | ==\u003e | Memory             |\n        |====================|     |====================|\n        | 0x0                |     | 0x08048000         |\n        |   Load: 4096       |     |   Alloc: 4096      |\n        | 0x1000             |     | 0x08049000         |\n        +--------------------+     +--------------------+\n    -----------------------------------------\n    Program Header @ 0x54\n      Segment type: 1 ('load', as expected)\n      File offset: 0x142\n      File size: 5 bytes\n      Target memory start: 0x8049000\n      Target memory size: 10 bytes\n      Memory mapping:\n        +--------------------+     +--------------------+\n        | File               | ==\u003e | Memory             |\n        |====================|     |====================|\n        | 0x142              |     | 0x08049000         |\n        |   Load: 5          |     |   Alloc: 10        |\n        | 0x147              |     | 0x0804900a         |\n        +--------------------+     +--------------------+\n\nNOTE: Mez stupidly assumes you've got a file to examine called\n`foo` in the current working directory directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratfactor%2Fmez","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratfactor%2Fmez","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratfactor%2Fmez/lists"}