Skip to content

Drop the plugin surface no plugin uses ##analysis - #26702

Open
0verflowme wants to merge 1 commit into
radareorg:masterfrom
0verflowme:pr/drop-unused-plugin-surface
Open

Drop the plugin surface no plugin uses ##analysis#26702
0verflowme wants to merge 1 commit into
radareorg:masterfrom
0verflowme:pr/drop-unused-plugin-surface

Conversation

@0verflowme

Copy link
Copy Markdown
Member

Removes plugin-facing surface that nothing uses any more:

  • RAnalFcnContext, RAnalFcnSlot, RAnalFcnRegArg and r_anal_function_context_collect / r_anal_function_context_free
  • the get_data_refs plugin hook, its R_ANAL_PLUGIN_ACTION_GET_DATA_REFS action, the aar merge step in core and the anal.plugins.datarefs setting
  • r_anal_types_baselist

These were added for an external decompiler that has since moved to reading the analysis directly through the public API. No plugin in the tree or out of it calls them, so keeping them only widens the ABI. The unit test that existed to exercise the context collector goes with it; LAj output loses the get_data_refs key and the test expectation is updated.

Split out of #26646.

RAnalFcnContext with its slot and register-argument records, the
get_data_refs plugin hook with its aar merge step and anal.plugins.datarefs
setting, and r_anal_types_baselist were added for an external decompiler
that has since moved to reading the analysis directly. Nothing in the
tree or in that plugin calls them any more, so they go, along with the
unit test that only existed to exercise the context collector.
Sign up for free to 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.

1 participant