tanto
tanto copied to clipboard
Initial API support (or scripting console support?)
Changes
- Add Binary Ninja UI Console Magic Variables: (
current_tanto_viewgetsTantoApiViewobject andcurrent_tanto_slicegetsTantoApiSliceobject) - Add Tanto API layer classes:
TantoApiView,TantoApiSlice,TantoApiSliceAction
Key usage
I mainly used Tanto to visualize and explore sliced programs, and it was difficult to manually add elements to Tanto every time. With this PR, you can directly call actions defined for each Tanto Slice through the console. Here is an example:
for func in bv.functions:
if func.start >= 0x400b7a and func.start <= 0x4012e0:
current_tanto_slice("Include Function in Graph", bv, func)