{"id":13755034,"url":"https://github.com/mixaill/fakepdb","last_synced_at":"2025-05-15T12:05:30.366Z","repository":{"id":39614000,"uuid":"178629183","full_name":"Mixaill/FakePDB","owner":"Mixaill","description":"Tool for PDB generation from IDA Pro database","archived":false,"fork":false,"pushed_at":"2024-10-28T08:59:59.000Z","size":563,"stargazers_count":584,"open_issues_count":21,"forks_count":78,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-05-15T12:05:18.766Z","etag":null,"topics":["cpp","debugging","ida","idapython","llvm","pdb"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mixaill.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":"2019-03-31T01:25:33.000Z","updated_at":"2025-05-07T15:16:51.000Z","dependencies_parsed_at":"2023-02-04T09:00:28.867Z","dependency_job_id":"217b60ee-a41b-4e62-b51e-df771fb9570d","html_url":"https://github.com/Mixaill/FakePDB","commit_stats":{"total_commits":94,"total_committers":8,"mean_commits":11.75,"dds":"0.24468085106382975","last_synced_commit":"618ea6db68659a3ad304e51bad8ac8dead053a50"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixaill%2FFakePDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixaill%2FFakePDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixaill%2FFakePDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mixaill%2FFakePDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mixaill","download_url":"https://codeload.github.com/Mixaill/FakePDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337613,"owners_count":22054253,"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":["cpp","debugging","ida","idapython","llvm","pdb"],"created_at":"2024-08-03T10:00:40.917Z","updated_at":"2025-05-15T12:05:25.353Z","avatar_url":"https://github.com/Mixaill.png","language":"C++","funding_links":[],"categories":["\u003ca id=\"004c199e1dbf71769fbafcd8e58d1ead\"\u003e\u003c/a\u003e针对特定分析目标"],"sub_categories":["\u003ca id=\"f5e51763bb09d8fd47ee575a98bedca1\"\u003e\u003c/a\u003ePDB"],"readme":"# FakePDB\n\nTool for PDB generation from IDA Pro database\n\nSupports:\n* IDA \u003e= 7.4 \n\n## Download\n\n* [Windows AMD64](https://nightly.link/Mixaill/FakePDB/workflows/CI/master/binaries.zip)\n\n## How to install\n\n* IDA\n  * copy content of `binaries.zip/ida` to `\u003cIDA_directory\u003e/plugins`\n\n## How to use\n\nThere are several features in this plugin:\n\n### PDB file generation\n  * Open target executable in IDA\n  * `Edit` -\u003e `FakePDB` -\u003e `Generate .PDB file` (or `Ctrl`+`Shift`+`4`)\n  * get PDB file from the IDA database directory\n\n  The PDB can optionally include symbols for function labels: use `Generate .PDB file (with function labels)` (or `Ctrl`+`Shift`+`5`).\n\n### LIB file generation\n  * Open target executable in IDA\n  * `Edit` -\u003e `FakePDB` -\u003e `Generate .LIB file`\n  * get LIB file from the IDA database directory\n\n### IDA database export to .json\n  * Open target executable in IDA \u003e= 7.0\n  * `Edit` -\u003e `FakePDB` -\u003e `Dump info to .json` (or `Ctrl`+`Shift`+`1`)\n  * it will generate `filename.json` near the `.idb` file\n\n### Binary signature search\n  * Open target executable in IDA \u003e= 7.0\n  * Set cursor on start of the target function\n  * `Edit` -\u003e `FakePDB` -\u003e `Find signature` (or `Ctrl`+`Shift`+`2`)\n  * signature will be displayed in IDA console\n\n### Function names import from `.json` file\n  * Open target executable in IDA \u003e= 7.0\n  * `Edit` -\u003e `FakePDB` -\u003e `Import offset from .json` (or `Ctrl`+`Shift`+`3`)\n\nrequired file format:\n```json\n{\n   \"function_name_1\": \"0001:123456\",\n   \"function_name_2\": \"0001:254646\",\n   \"function_name_X\": \"XXXX:YYYYYY\",\n   \"function_name_Y\": \"0x0124567AF\",\n}\n```\n\nwhere:\n * `XXXX`: number of the PE section\n * `YYYY`: offset from the begining of the section in decimal numbers\n * 0x0124567AF: IDA effective address\n\n## TODO\n\n* Linux support\n* GHIDRA support\n* Function arguments support\n* IDA 9.0: structures export\n\n## Useful links\n\n* Disable PDB validation in WinDbg [http://ntcoder.com/bab/2012/03/06/how-to-force-symbol-loading-in-windbg/](https://web.archive.org/web/20200130221144/http://ntcoder.com/bab/2012/03/06/how-to-force-symbol-loading-in-windbg/)\n* Disable PDB validation in MSVS https://stackoverflow.com/questions/38147487/forcing-to-load-unmatched-symbols-in-visual-studio-2015-debugger\n\n## Mentions\n\n* [2019, Google Project Zero: The story of Adobe Reader symbols](https://googleprojectzero.blogspot.com/2019/10/the-story-of-adobe-reader-symbols.html)\n* [2021, Gerhart X.: Hyper-V debugging for beginners. 2nd edition.](https://hvinternals.blogspot.com/2021/01/hyper-v-debugging-for-beginners-2nd.html)\n* [2022, Google Cloud: Fuzzing Image Parsing in Windows, Part Four: More HEIF](https://cloud.google.com/blog/topics/threat-intelligence/fuzzing-image-parsing-windows-part-four/)\n\n## Thanks\n\nInspired by:\n  * pe_debug http://pefrm-units.osdn.jp/pe_debug.html\n\nBased on:\n  * LLVM project https://llvm.org/\n  * LLD project https://lld.llvm.org/\n  \nAlso take look at:\n  * bao https://github.com/not-wlan/bao\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixaill%2Ffakepdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmixaill%2Ffakepdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmixaill%2Ffakepdb/lists"}