tanto icon indicating copy to clipboard operation
tanto copied to clipboard

Initial API support (or scripting console support?)

Open d0now opened this issue 6 months ago • 0 comments

Changes

  • Add Binary Ninja UI Console Magic Variables: (current_tanto_view gets TantoApiView object and current_tanto_slice gets TantoApiSlice object)
  • 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)

d0now avatar Jul 23 '25 17:07 d0now