{"id":31788561,"url":"https://github.com/blacktop/aarch64-cssc","last_synced_at":"2026-06-19T06:32:15.627Z","repository":{"id":315512430,"uuid":"1059776565","full_name":"blacktop/aarch64-cssc","owner":"blacktop","description":"AArch64 FEAT_CSSC support for IDA Pro (disassembler/Hex-Rays) and Ghidra","archived":false,"fork":false,"pushed_at":"2025-09-20T17:41:00.000Z","size":35,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T12:06:31.852Z","etag":null,"topics":["aarch64","arm64","cssc","feat-cssc","ghidra","ghidra-plugin","hex-rays","hex-rays-decompiler","ida-plugin","idapython"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blacktop.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T23:49:36.000Z","updated_at":"2025-10-19T19:25:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b5499f6-003e-473c-ba39-5c2928fc04c5","html_url":"https://github.com/blacktop/aarch64-cssc","commit_stats":null,"previous_names":["blacktop/aarch64-cssc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blacktop/aarch64-cssc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Faarch64-cssc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Faarch64-cssc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Faarch64-cssc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Faarch64-cssc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacktop","download_url":"https://codeload.github.com/blacktop/aarch64-cssc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Faarch64-cssc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34520431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":["aarch64","arm64","cssc","feat-cssc","ghidra","ghidra-plugin","hex-rays","hex-rays-decompiler","ida-plugin","idapython"],"created_at":"2025-10-10T14:23:02.740Z","updated_at":"2026-06-19T06:32:15.622Z","avatar_url":"https://github.com/blacktop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aarch64-cssc\n\nAArch64 FEAT_CSSC instruction support for IDA Pro and Ghidra.\n\n## Installation\n\n### IDA Pro\n\n```bash\n# Install plugin\n./plugins/ida/install.sh\n\n# Development mode (symlinks for live editing)\nIDA_PLUGIN_MODE=link ./plugins/ida/install.sh\n\n# Custom IDA plugins directory\n./plugins/ida/install.sh /path/to/ida/plugins\n```\n\nRestart IDA Pro after installation.\n\n### Ghidra\n\n```bash\n# Install and rebuild language pack\nGHIDRA_HOME=/path/to/ghidra ./plugins/ghidra/install.sh\n\n# Skip SLEIGH rebuild (manual rebuild required)\nGHIDRA_HOME=/path/to/ghidra ./plugins/ghidra/install.sh --skip-build\n```\n\n#### Use my macOS app *(shameless self-plug)*\n\nInstall nice stand-alone macOS app packaged version of Ghidra\n\n```bash\nbrew install --cask blacktop/tap/ghidra-app \n```\n\nInstall the lanuage extension\n\n```bash\n./plugins/ghidra/install.sh /Applications/Ghidra.app/Contents/Resources/ghidra\n```\n\nRe-import or reopen binaries in Ghidra after installation.\n\n## Usage\n\n### IDA Pro\nThe plugin auto-loads when opening AArch64 binaries. If needed, manually load via: Edit → Plugins → AArch64 CSSC\n\n### Ghidra\nInstructions are automatically recognized after installation. No manual activation required.\n\n## Supported Instructions\n\n### IDA Pro\n- UMAX/UMIN (register, 32/64-bit)\n- Hex-Rays decompiler intrinsics: `__cssc_umax`, `__cssc_umin`\n\n### Ghidra\n- ABS (register, 32/64-bit)\n- CNT (register, 32/64-bit)\n- CTZ (register, 32/64-bit)\n- SMAX/SMIN (register, 32/64-bit)\n- UMAX/UMIN (register, 32/64-bit)\n- Decompiler intrinsics: `__cssc_abs`, `__cssc_cnt`, `__cssc_ctz`\n- Min/max operations use conditional patterns recognized by the decompiler\n\n## Adding Instructions\n\n### IDA Pro\nEdit `plugins/ida/aarch64_cssc.py` and add entries to `CSSC_INSTRUCTIONS` list.\n\n### Ghidra\nEdit `plugins/ghidra/sleigh/AARCH64_CSSC.sinc` following existing patterns.\n\n## Reference\n\nARM instruction encodings: `arm-xml/isa_a64/ISA_A64_xml_A_profile-2025-06/`\n\n## Credit\n\nShout out to dougall's [Apple AMX plugin](https://gist.github.com/dougallj/7a75a3be1ec69ca550e7c36dc75e0d6f)\n\n## License\n\nMIT Copyright (c) 2025 **blacktop**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Faarch64-cssc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacktop%2Faarch64-cssc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Faarch64-cssc/lists"}