{"id":13754811,"url":"https://github.com/voidsec/ida-helpers","last_synced_at":"2025-04-09T20:42:49.679Z","repository":{"id":74148307,"uuid":"211372679","full_name":"VoidSec/ida-helpers","owner":"VoidSec","description":"Collection of IDA helpers","archived":false,"fork":false,"pushed_at":"2022-07-25T21:38:59.000Z","size":11,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T22:38:08.928Z","etag":null,"topics":["ida","ida-plugin","ida-pro","idapro","idapython","idapython-plugin","reverse-engineering"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/VoidSec.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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-09-27T17:45:23.000Z","updated_at":"2024-11-07T11:55:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"386e9701-7570-4f4d-ac87-2ada5214e680","html_url":"https://github.com/VoidSec/ida-helpers","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/VoidSec%2Fida-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidSec%2Fida-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidSec%2Fida-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VoidSec%2Fida-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VoidSec","download_url":"https://codeload.github.com/VoidSec/ida-helpers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248110207,"owners_count":21049452,"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":["ida","ida-plugin","ida-pro","idapro","idapython","idapython-plugin","reverse-engineering"],"created_at":"2024-08-03T10:00:34.452Z","updated_at":"2025-04-09T20:42:49.659Z","avatar_url":"https://github.com/VoidSec.png","language":"Python","readme":"# ida-helpers\nCollection of IDA helpers\n\n## Heap Viewer\n\nHeap viewer will parse an \"IDA Segment Export\" data `heap_base.txt` and will produce a table with the following details:\n\t+ segment n.\n\t+ segment start address\n\t+ segment end address\n\t+ segment size\n\t+ space between two segments\n\nUsage:\n```\nheap_viewer.py -f heap_base.txt -o output.md --segment\n\t-f \t\t\tIDA Segment Export input file\n\t-o \t\t\tOutput File\n\t--segment\t\tHide space between two segment information\n```\n\nThis will be the output file format:\n```\n-----------------------------------------------------------------------------------------------\n|\tseg n.\t|\tstart\t\t|\tend\t\t\t|\tsize\n-----------------------------------------------------------------------------------------------\n|\t0\t\t|\t0xea180000\t|\t0xea300000\t|\t0x180000\n-----------------------------------------------------------------------------------------------[130547712]\n|\t1\t\t|\t0xe2480000\t|\t0xe2500000\t|\t0x80000\n-----------------------------------------------------------------------------------------------[2621440]\n|\t2\t\t|\t0xe2180000\t|\t0xe2200000\t|\t0x80000\n-----------------------------------------------------------------------------------------------[23592960]\n|\t3\t\t|\t0xe0a80000\t|\t0xe0b00000\t|\t0x80000\n-----------------------------------------------------------------------------------------------[18874368]\n```\n\n## Segment Dumper\nTo use in conjunction with `Heap Viewer`, copy and paste the output address list and size from `Heap Viewer` inside `Segment Dumper` and load it into IDA, it will dump the relative segment from the memory saving it as a .bin file in the hardcoded folder.\n\n## Base Address\n\nReplace the path of the desired library, insert function names in `f_name` and respective offset in `f_addr`. The script will pull library base address from IDA and calculate the final addresses for every listed functions, setting a software breakpoint to the respective address.\n\n```\neg.\n\nlibrary base address = C7180000\nfunction address = C718FF90\n\noffset(base addr - function addr)= FF90\n\nfunc addr = (offset + base addr)\n```\n## P/P/R\nFind pop pop ret gadgets\n\n## Func Complexity\nPrint out an ordererd list of functions, from the least complex to the most one (based on the number of basic blocks)\n","funding_links":[],"categories":["\u003ca id=\"c39a6d8598dde6abfeef43faf931beb5\"\u003e\u003c/a\u003e未分类"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidsec%2Fida-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoidsec%2Fida-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoidsec%2Fida-helpers/lists"}