Skip to content

feat(PRO-3285)!: update plugin to use APIs introduced by V8 pipeline work - #28

Merged
akashb95 merged 1 commit into
mainfrom
pro-3285-binary-ninja-update
Aug 24, 2026
Merged

feat(PRO-3285)!: update plugin to use APIs introduced by V8 pipeline work#28
akashb95 merged 1 commit into
mainfrom
pro-3285-binary-ninja-update

Conversation

@akashb95

@akashb95akashb95 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Context:
We are releasing the "V8 pipeline", which introduces breaking changes to our API. The plugins need to be updated to use the new APIs. No published SDK release exposes the new /v3/ Data Types API yet - this migration generates one from sdk-python against the OpenAPI spec.

Similar in spirit to RevEngAI/plugin-ghidra#210.

This diff:

  • Migrates function lookups from AnalysesResultsMetadataApi.get_functions_list to FunctionsCoreApi.list_analysis_functions, and renaming from rename_function_id/FunctionRename to rename_function/RenameInputBody
  • Replaces the old polling-based FunctionsDataTypesApi signature flow with a single DataTypesApi.v3_list_function_signatures call, and adds build_signature_data to resolve the v3 data_type_id graph (structs, unions, enums, typedefs, pointers, arrays) into the libbs artifact shape apply_data_types already consumes.
  • Adds scripts/gen_dev_sdk.sh to generate a gitignored .dev-sdk/ SDK build from an OpenAPI spec, for endpoints ahead of the last published revengai release.
  • Adds CLAUDE.md

Note that .dev-sdk/ and openapitools.json (both gitignored) are local build artifacts of gen_dev_sdk.sh and are not part of this diff.

@akashb95
akashb95 marked this pull request as ready for review August 22, 2026 06:56
@akashb95
akashb95 requested a review from a teamAugust 22, 2026 06:56
@akashb95akashb95 changed the title feat(PRO-3285)!: binary ninja plugin updatefeat(PRO-3285)!: update plugin to use APIs introduced by V8 pipeline workAug 22, 2026
Migrates function matching, function renaming, and portal-linking calls
onto the V8 /v3 API surface (functions-list, rename, and the new
data-types/signatures architecture), replacing v2 calls that the
reai-api v8 branch removes entirely. Adds a locally-generated dev SDK
(scripts/gen_dev_sdk.sh) since no published sdk-python release yet
exposes the new Data Types API.
@akashb95
akashb95force-pushed the pro-3285-binary-ninja-update branch from 0b7090f to 9b0dc29CompareAugust 24, 2026 08:56
@akashb95
akashb95 merged commit bd2f5a0 into mainAug 24, 2026
2 checks passed
@akashb95
akashb95 deleted the pro-3285-binary-ninja-update branch August 26, 2026 10:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@akashb95@robertmarsal