Vector35 / binaryninja-api

Public API, examples, documentation and issues for Binary Ninja
https://binary.ninja/
MIT License
849 stars 194 forks source link

Type creation/editing actions & hotkeys do not work in code (linear/graph) view #5332

Open xusheng6 opened 2 months ago

xusheng6 commented 2 months ago

Right now, if we wish to change the type of a variable in the code, we can only do so by pressing Y and editing its type. This is inconvenient in certain cases. It would be great if we can directly change the type by pressing 1/2/4/8/O, etc. Same with structure field.

Related to https://github.com/Vector35/binaryninja-api/issues/3238

xusheng6 commented 2 months ago

I have some half-cooked in https://github.com/Vector35/binaryninja-api/compare/test_type_actions

plafosse commented 2 months ago

Clarification: This should be an action available on all variables