{"id":20271033,"url":"https://github.com/zengfr/idaemu","last_synced_at":"2025-04-11T04:26:18.770Z","repository":{"id":177770344,"uuid":"660892176","full_name":"zengfr/idaemu","owner":"zengfr","description":"idaemu is an IDA Pro Plugin - use for emulating code in IDA Pro.update for ida pro 7.7","archived":false,"fork":false,"pushed_at":"2023-11-09T13:20:26.000Z","size":389,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-09T14:32:04.551Z","etag":null,"topics":["ida","ida-emu","ida-plugin","ida-plugins","ida-pro","idaemu","idapro","idapython","unicorn"],"latest_commit_sha":null,"homepage":"","language":"Python","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/zengfr.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}},"created_at":"2023-07-01T06:14:23.000Z","updated_at":"2023-11-05T17:37:33.000Z","dependencies_parsed_at":"2023-11-09T14:41:44.757Z","dependency_job_id":null,"html_url":"https://github.com/zengfr/idaemu","commit_stats":null,"previous_names":["zengfr/idaemu"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zengfr%2Fidaemu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zengfr%2Fidaemu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zengfr%2Fidaemu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zengfr%2Fidaemu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zengfr","download_url":"https://codeload.github.com/zengfr/idaemu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224622373,"owners_count":17342383,"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-emu","ida-plugin","ida-plugins","ida-pro","idaemu","idapro","idapython","unicorn"],"created_at":"2024-11-14T12:35:49.514Z","updated_at":"2024-11-14T12:35:50.018Z","avatar_url":"https://github.com/zengfr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# idaemu\nidaemu is an IDA Pro Plugin - use for emulating code in IDA Pro.update for ida pro 7.7\n### about Plugin \n- fork from : https://github.com/36hours/idaemu\n- sync to   : https://gitee.com/zengfr/idaemu\n- update for ida pro 7.7\n- optimization improvements and fix\n### contact group\n- qq group: 1群 143824179 (IDA汇编逆向分析)\n- qq group: 2群 26318788 (romhacking)\n### ida pro plugin for recommends\n- XrefsExt https://github.com/zengfr/XrefsExt\n- idaemu https://github.com/zengfr/idaemu\n- ida_all_xrefs_from_viewer https://github.com/zengfr/ida_all_xrefs_from_viewer-plugin-for-ida-pro\n- ida_all_xrefs_to_viewer https://github.com/zengfr/ida_all_xrefs_to_viewer-plugin-for-ida-pro\n- winhex_diff_viewer-plugin https://github.com/zengfr/winhex_diff_viewer-plugin-for-ida-pro\n- HexRaysCodeXplorer for ida pro 7.7 https://github.com/zengfr/HexRaysCodeXplorer_plugin_for_ida_pro\n\n### ida pro idb database files\n- site: https://github.com/zengfr/ida-pro-idb-database\n### code Test Example 1 \n~~~python\nfrom idaemu import *\nfrom unicorn import *\nfrom unicorn.x86_const import *\nfrom unicorn.arm_const import *\nfrom unicorn.arm64_const import *\n\ndef myprint(uc, out, args):\n    out.append(\"hook args: %s\" % args)\n    return args[0]\naa=[n for n in range(0, 128)]\nprint(aa)\n\ne = Emu(UC_ARCH_ARM64, UC_MODE_ARM)\ne.setTrace(TRACE_CODE|TRACE_DATA_READ|TRACE_DATA_WRITE)\n#e.setTrace(TRACE_INTR)\ne.setInstSkip(0x01234)\nbuf_md5_addr = 0x00bfba8\nhex2str_addr=0x00b6334\n\nstr='40397\\/A2PA31473'\nstr_addr=0x8120000\n\nres_addr=0x8120000+0x1000\n\nfmt=\"%02hhx\"\nfmt_addr=0x8120000+0x2000\n\ne.setData(str_addr,str,True)\ne.setData(res_addr,aa,True)\ne.setData(fmt_addr,fmt,True)\n\nprintf_addr = 0x38e6d0 \ne.alt(printf_addr, myprint, 4, False)\n\ne.eFunc(buf_md5_addr, None, [str_addr, 16,res_addr])\ne.showTrace()\ne.showLine()\n#e.getAndsetAll('arm64')\ne.eFunc(hex2str_addr, None, [res_addr, 16,fmt_addr])\n#n_hex2str((__int64)v21, 16LL, \"%02hhx\");\ne.showTrace()\ne.showLine()\n~~~\n### screenshot\n![ idaemu plugin Screenshot 1](https://raw.githubusercontent.com/zengfr/idaemu/main/screenshot/idemu_tracelog.JPG)\n![ idaemu plugin Screenshot 2](https://raw.githubusercontent.com/zengfr/idaemu/main/screenshot/idemu_tracelog2.JPG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzengfr%2Fidaemu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzengfr%2Fidaemu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzengfr%2Fidaemu/lists"}