{"id":16612984,"url":"https://github.com/whitequark/binja-avnera","last_synced_at":"2025-03-16T21:31:08.123Z","repository":{"id":241488777,"uuid":"806569589","full_name":"whitequark/binja-avnera","owner":"whitequark","description":"Binary Ninja plugin for the Avnera AV6xxx/AV7xxx architecture","archived":false,"fork":false,"pushed_at":"2024-06-10T01:19:15.000Z","size":501,"stargazers_count":28,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-11T04:53:49.867Z","etag":null,"topics":["binary-ninja","binary-ninja-architecture","binary-ninja-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitequark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-0BSD.txt","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":"2024-05-27T12:57:12.000Z","updated_at":"2025-01-27T15:00:05.000Z","dependencies_parsed_at":"2024-06-10T02:44:18.942Z","dependency_job_id":null,"html_url":"https://github.com/whitequark/binja-avnera","commit_stats":null,"previous_names":["whitequark/binja-avnera"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitequark%2Fbinja-avnera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitequark%2Fbinja-avnera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitequark%2Fbinja-avnera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitequark%2Fbinja-avnera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitequark","download_url":"https://codeload.github.com/whitequark/binja-avnera/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830949,"owners_count":20354854,"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":["binary-ninja","binary-ninja-architecture","binary-ninja-plugin"],"created_at":"2024-10-12T01:45:38.884Z","updated_at":"2025-03-16T21:31:07.544Z","avatar_url":"https://github.com/whitequark.png","language":"Python","readme":"Binary Ninja Avnera plugin\n==========================\n\nThe Avnera plugin provides an Avnera AV6xxx/AV7xxx architecture for Binary Ninja. Even the existence of this architecture is not made public by Avnera; the function of the opcodes is determined via black box reverse engineering, and the mnemonics are all made up by Catherine \"whitequark\".\n\nDedicated with 🧡 to [Frederick G. Weiss and his colleagues at Avnera Corporation](https://fccid.io/V3CAVMD7F11A/Letter/Confidential-Letter-1082866.pdf).\n\n## Features\n\n* All of the instructions described in [this document](https://github.com/Prehistoricman/AV7300/blob/master/Instruction%20set%20notes.txt) are implemented, and their function (especially the use of flags) has been extensively manually verified by examining control and data flow in the available blobs.\n* All of the instructions are lifted to LLIL.\n* `MOV` instructions are fused during disassembly to `MOVW` and `MOVP` instructions when they are used in pairs implementing 16-bit operations to enable BN to discover more pointers during analysis.\n* `ADD R0, R0; RLC Rn` instructions are fused during disassembly to `LSL RnR0` instructions.\n* Opcode `B8` is not implemented as its function is not precisely known. It is likely some kind of trap, possibly debug trap.\n* Opcodes `A0` to `AF`, `B0` to `B7`, `BB`, `BD`, and `BE` are not implemented as their function is not known.\n* Opcodes `C1`, `C3`, `C5`, `C7`, `D1`, `D3`, `D5`, `D7`, `D9`, `DB`, `DD`, `DF`, `F1`, `F3`, `F5`, `F7`, `F9`, `FB`, `FD`, `FF` have known functionality but their decoding is disabled as they aren't present in the available blobs and appear to be invalid opcodes that unintentionally perform a function.\n\n![demonstration of disassembly and decompiled HLIL on a small function implementing a 32-bit multiply](doc/demo.png)\n\n## Devices\n\nThis plugin supports at least the following devices:\n\n* AV7300\n* AV7320\n* AV6202\n\nIf you've successfully used the plugin with another device, please add it to the list and send a pull request!\n\n## Cheatsheet\n\n[![a table laying out all of the opcodes in a 16x16 grid](doc/cheatsheet.svg)](doc/cheatsheet.svg)\n\n## Acknowledgements\n\nThis plugin is heavily based on the excellent [AV7300 research](https://github.com/Prehistoricman/AV7300) by [@Prehistoricman](https://github.com/Prehistoricman).\n\n## License\n\n[0-clause BSD](LICENSE-0BSD.txt)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitequark%2Fbinja-avnera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitequark%2Fbinja-avnera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitequark%2Fbinja-avnera/lists"}