{"id":17336395,"url":"https://github.com/jasonyangshadow/elf_reader","last_synced_at":"2025-03-27T07:25:35.574Z","repository":{"id":70083293,"uuid":"239087139","full_name":"JasonYangShadow/elf_reader","owner":"JasonYangShadow","description":"elf header info reader","archived":false,"fork":false,"pushed_at":"2020-02-11T11:15:11.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T12:28:36.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JasonYangShadow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-08T07:29:37.000Z","updated_at":"2020-02-11T11:15:13.000Z","dependencies_parsed_at":"2023-03-01T17:45:43.849Z","dependency_job_id":null,"html_url":"https://github.com/JasonYangShadow/elf_reader","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/JasonYangShadow%2Felf_reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonYangShadow%2Felf_reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonYangShadow%2Felf_reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasonYangShadow%2Felf_reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasonYangShadow","download_url":"https://codeload.github.com/JasonYangShadow/elf_reader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245800208,"owners_count":20674257,"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-15T15:29:52.547Z","updated_at":"2025-03-27T07:25:35.562Z","avatar_url":"https://github.com/JasonYangShadow.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ELF header reader\n\nread needed libraries and rpath info from elf header.\n\n## Compile:\n```\nmake\n```\n\n## Run:\n```\n./elf_reader shared_object/executables\n```\n\n## Example:\n\n```\ncommand:\nreadelf -d /bin/ls\n\noutput:\nDynamic section at offset 0x1fa38 contains 28 entries:\n  Tag        Type                         Name/Value\n 0x0000000000000001 (NEEDED)             Shared library: [libselinux.so.1]\n 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]\n 0x000000000000000c (INIT)               0x3758\n 0x000000000000000d (FINI)               0x1636c\n 0x0000000000000019 (INIT_ARRAY)         0x21eff0\n 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)\n 0x000000000000001a (FINI_ARRAY)         0x21eff8\n 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)\n 0x000000006ffffef5 (GNU_HASH)           0x298\n 0x0000000000000005 (STRTAB)             0x1180\n 0x0000000000000006 (SYMTAB)             0x388\n 0x000000000000000a (STRSZ)              1666 (bytes)\n 0x000000000000000b (SYMENT)             24 (bytes)\n 0x0000000000000015 (DEBUG)              0x0\n 0x0000000000000003 (PLTGOT)             0x21fc38\n 0x0000000000000002 (PLTRELSZ)           2664 (bytes)\n 0x0000000000000014 (PLTREL)             RELA\n 0x0000000000000017 (JMPREL)             0x2cf0\n 0x0000000000000007 (RELA)               0x19a0\n 0x0000000000000008 (RELASZ)             4944 (bytes)\n 0x0000000000000009 (RELAENT)            24 (bytes)\n 0x000000000000001e (FLAGS)              BIND_NOW\n 0x000000006ffffffb (FLAGS_1)            Flags: NOW PIE\n 0x000000006ffffffe (VERNEED)            0x1930\n 0x000000006fffffff (VERNEEDNUM)         1\n 0x000000006ffffff0 (VERSYM)             0x1802\n 0x000000006ffffff9 (RELACOUNT)          193\n 0x0000000000000000 (NULL)               0x0\n\ncommand:\n./elf_reader /bin/ls\n\noutput:\nrpath:\nlibs needed: libselinux.so.1:libc.so.6\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonyangshadow%2Felf_reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonyangshadow%2Felf_reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonyangshadow%2Felf_reader/lists"}