{"id":18864795,"url":"https://github.com/hackndo/elfreader","last_synced_at":"2026-02-11T15:30:16.482Z","repository":{"id":33677093,"uuid":"37329827","full_name":"Hackndo/elfreader","owner":"Hackndo","description":"ELF reader PoC in C++","archived":false,"fork":false,"pushed_at":"2015-07-29T10:14:15.000Z","size":164,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T21:42:04.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/Hackndo.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}},"created_at":"2015-06-12T15:32:11.000Z","updated_at":"2022-11-01T00:15:48.000Z","dependencies_parsed_at":"2022-09-13T08:53:00.183Z","dependency_job_id":null,"html_url":"https://github.com/Hackndo/elfreader","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/Hackndo%2Felfreader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Felfreader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Felfreader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Felfreader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackndo","download_url":"https://codeload.github.com/Hackndo/elfreader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808522,"owners_count":19700451,"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-11-08T04:44:04.302Z","updated_at":"2026-02-11T15:30:16.418Z","avatar_url":"https://github.com/Hackndo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elfreader\nElf reader written in C++\n\nSample\n\n```\n$ ./reader -e binary\n\n********************************************************************************\n*                                ELF HEADER                                    *\n********************************************************************************\n\nStorage class\t= 32-bit objects\nData format\t= 2's complement, little endian\nOS ABI\t\t= UNIX System V ABI\nFiletype \t= Executable\nMachine\t\t= INTEL x86 (0x3)\nEntry point\t= 0x08048320\nELF header size\t= 0x00000034\n\nProgram Header\t= 0x00000034\n\t\t  9 entries\n\t\t  32 bytes\n\nSection Header\t= 0x0000114c\n\t\t  30 entries\n\t\t  40 bytes\n\t\t  0x0000001b (string table offset)\n\nFile flags \t= 0x00000000\n\n$ ./reader -p binary\n\n********************************************************************************\n*                                 SEGMENTS                                     *\n********************************************************************************\n\n+---+----------+----------+----------+----------+----------+----+---------+\n|idx|offset    |vaddr     |paddr     |file size |mem size  |algn|name     |\n+---+----------+----------+----------+----------+----------+----+---------+\n 000 0x00000034 0x08048034 0x08048034 0x00000120 0x00000120    4 PT_PHDR\t\n 001 0x00000154 0x08048154 0x08048154 0x00000013 0x00000013    1 PT_INTERP\t\n 002 0x00000000 0x08048000 0x08048000 0x000005b4 0x000005b4 4096 PT_LOAD\t\n 003 0x00000f08 0x08049f08 0x08049f08 0x00000118 0x0000011c 4096 PT_LOAD\t\n 004 0x00000f14 0x08049f14 0x08049f14 0x000000e8 0x000000e8    4 PT_DYNAMIC\t\n 005 0x00000168 0x08048168 0x08048168 0x00000044 0x00000044    4 PT_NOTE\t\n 006 0x000004d8 0x080484d8 0x080484d8 0x0000002c 0x0000002c    4 UNKNOWN\t\n 007 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000   16 UNKNOWN\t\n 008 0x00000f08 0x08049f08 0x08049f08 0x000000f8 0x000000f8    1 UNKNOWN\t\n \n $ ./reader -s binary\n\n********************************************************************************\n*                                 SECTIONS                                     *\n********************************************************************************\n\n+---+----------+----------+----------+----+----------+----------+--------------+\n|idx|offset    |load-addr |size      |algn|flags     |type      |section       |\n+---+----------+----------+----------+----+----------+----------+--------------+\n 000 0x00000000 0x00000000 0x00000000    0 0x00000000 0x00000000 \t\n 001 0x00000154 0x08048154 0x00000013    1 0x00000002 0x00000001 .interp\t\n 002 0x00000168 0x08048168 0x00000020    4 0x00000002 0x00000007 .note.ABI-tag\t\n 003 0x00000188 0x08048188 0x00000024    4 0x00000002 0x00000007 .note.gnu.build-id\t\n 004 0x000001ac 0x080481ac 0x00000020    4 0x00000002 0x6ffffff6 .gnu.hash\t\n 005 0x000001cc 0x080481cc 0x00000050    4 0x00000002 0x0000000b .dynsym\t\n 006 0x0000021c 0x0804821c 0x0000004a    1 0x00000002 0x00000003 .dynstr\t\n 007 0x00000266 0x08048266 0x0000000a    2 0x00000002 0x6fffffff .gnu.version\t\n 008 0x00000270 0x08048270 0x00000020    4 0x00000002 0x6ffffffe .gnu.version_r\t\n 009 0x00000290 0x08048290 0x00000008    4 0x00000002 0x00000009 .rel.dyn\t\n 010 0x00000298 0x08048298 0x00000018    4 0x00000002 0x00000009 .rel.plt\t\n 011 0x000002b0 0x080482b0 0x00000023    4 0x00000006 0x00000001 .init\t\n 012 0x000002e0 0x080482e0 0x00000040   16 0x00000006 0x00000001 .plt\t\n 013 0x00000320 0x08048320 0x00000192   16 0x00000006 0x00000001 .text\t\n 014 0x000004b4 0x080484b4 0x00000014    4 0x00000006 0x00000001 .fini\t\n 015 0x000004c8 0x080484c8 0x0000000e    4 0x00000002 0x00000001 .rodata\t\n 016 0x000004d8 0x080484d8 0x0000002c    4 0x00000002 0x00000001 .eh_frame_hdr\t\n 017 0x00000504 0x08048504 0x000000b0    4 0x00000002 0x00000001 .eh_frame\t\n 018 0x00000f08 0x08049f08 0x00000004    4 0x00000003 0x0000000e .init_array\t\n 019 0x00000f0c 0x08049f0c 0x00000004    4 0x00000003 0x0000000f .fini_array\t\n 020 0x00000f10 0x08049f10 0x00000004    4 0x00000003 0x00000001 .jcr\t\n 021 0x00000f14 0x08049f14 0x000000e8    4 0x00000003 0x00000006 .dynamic\t\n 022 0x00000ffc 0x08049ffc 0x00000004    4 0x00000003 0x00000001 .got\t\n 023 0x00001000 0x0804a000 0x00000018    4 0x00000003 0x00000001 .got.plt\t\n 024 0x00001018 0x0804a018 0x00000008    4 0x00000003 0x00000001 .data\t\n 025 0x00001020 0x0804a020 0x00000004    1 0x00000003 0x00000008 .bss\t\n 026 0x00001020 0x00000000 0x00000024    1 0x00000030 0x00000001 .comment\t\n 027 0x00001044 0x00000000 0x00000106    1 0x00000000 0x00000003 .shstrtab\t\n 028 0x000015fc 0x00000000 0x00000430    4 0x00000000 0x00000002 .symtab\t\n 029 0x00001a2c 0x00000000 0x00000250    1 0x00000000 0x00000003 .strtab\t\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Felfreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackndo%2Felfreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Felfreader/lists"}