{"id":19626215,"url":"https://github.com/angr/heaphopper","last_synced_at":"2025-10-07T05:29:22.621Z","repository":{"id":35958248,"uuid":"123206584","full_name":"angr/heaphopper","owner":"angr","description":" HeapHopper is a bounded model checking framework for Heap-implementations","archived":false,"fork":false,"pushed_at":"2025-07-02T21:27:16.000Z","size":6931,"stargazers_count":218,"open_issues_count":1,"forks_count":17,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-10-01T08:50:59.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://seclab.cs.ucsb.edu/media/uploads/papers/sec2018-heap-hopper.pdf","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angr.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":"2018-02-28T00:38:20.000Z","updated_at":"2025-09-08T14:33:09.000Z","dependencies_parsed_at":"2025-02-01T05:21:18.990Z","dependency_job_id":null,"html_url":"https://github.com/angr/heaphopper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angr/heaphopper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angr%2Fheaphopper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angr%2Fheaphopper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angr%2Fheaphopper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angr%2Fheaphopper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angr","download_url":"https://codeload.github.com/angr/heaphopper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angr%2Fheaphopper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278723214,"owners_count":26034546,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11T11:45:48.331Z","updated_at":"2025-10-07T05:29:22.560Z","avatar_url":"https://github.com/angr.png","language":"Python","readme":"heaphopper\n===\n\n[![Build Status](https://travis-ci.org/angr/heaphopper.svg?branch=master)](https://travis-ci.org/angr/heaphopper)\n[![License](https://img.shields.io/github/license/angr/angr.svg)](https://github.com/angr/heaphopper/blob/master/LICENSE)\n\nHeapHopper is a bounded model checking framework for Heap-implementations.\n\n# Overview\n\n![Overview](overview.png)\n\n# Setup\n\n``` bash\nsudo apt update \u0026\u0026 sudo apt install build-essential python3-dev virtualenvwrapper\ngit clone https://github.com/angr/heaphopper.git \u0026\u0026 cd ./heaphopper\nmkvirtualenv -ppython3 heaphopper\npip install -e .\n```\n\n#### Required Packages\n``` bash\nbuild-essential python3-dev virtualenvwrapper\n```\n\n#### Required Python-Packages\n``` bash\nana angr cle claripy psutil pyelftools pyyaml\n```\n\n# Examples\n\n``` bash\n# Gen zoo of permutations\n./heaphopper_client.py gen -c analysis.yaml\n\n#  Trace instance\nmake -C tests\n./heaphopper_client.py  trace -c tests/how2heap_fastbin_dup/analysis.yaml -b tests/how2heap_fastbin_dup/fastbin_dup.bin\n\n# Gen PoC\n./heaphopper_client.py poc -c tests/how2heap_fastbin_dup/analysis.yaml -r tests/how2heap_fastbin_dup/fastbin_dup.bin-result.yaml -d tests/how2heap_fastbin_dup/fastbin_dup.bin-desc.yaml -s tests/how2heap_fastbin_dup/fastbin_dup.c -b tests/how2heap_fastbin_dup/fastbin_dup.bin\n\n# Tests\n## Show source\ncat tests/how2heap_fastbin_dup/fastbin_dup.c\n## Run tests\ntests/test_heaphopper.py\n## Show PoC source\ncat tests/how2heap_fastbin_dup/pocs/malloc_non_heap/fastbin_dup.bin/poc_0_0.c\n## Run PoC\ncd tests\n./run_poc.sh tests/how2heap_fastbin_dup/pocs/malloc_non_heap/fastbin_dup.bin/bin/poc_0_0.bin\n```\n\n# Publication\nThis work has been published at the [27th USENIX Security Symposium](https://www.usenix.org/conference/usenixsecurity18/presentation/eckert).\n\nYou can read the paper [here](https://seclab.cs.ucsb.edu/media/uploads/papers/sec2018-heap-hopper.pdf).\n\nCite:\n```\n@inproceedings {heaphopper,\nauthor = {Eckert, Moritz and Bianchi, Antonio and Wang, Ruoyu and Shoshitaishvili, Yan and Kruegel, Christopher and Vigna, Giovanni},\ntitle = {HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security},\nbooktitle = {27th {USENIX} Security Symposium ({USENIX} Security 18)},\nyear = {2018},\naddress = {Baltimore, MD},\nurl = {https://www.usenix.org/conference/usenixsecurity18/presentation/eckert},\npublisher = {{USENIX} Association},\n}\n```\n","funding_links":[],"categories":["Secure Programming","Projects :rocket:"],"sub_categories":["Tokens"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangr%2Fheaphopper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangr%2Fheaphopper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangr%2Fheaphopper/lists"}