binsync / libbs

A library for writing plugins in any decompiler: includes API lifting, common data formatting, and GUI abstraction!
BSD 2-Clause "Simplified" License
63 stars 4 forks source link

Support `Typedef` in deci callbacks #99

Open mahaloz opened 1 month ago

mahaloz commented 1 month ago

Overview

In #98 Typedef support was introduced into LibBS for both writing and reading. However, there is no callback support right now (in any decompiler) like there is for other types.

An example is the struct change callbacks: https://github.com/binsync/libbs/blob/654bca4a40bad9b4a0ad0c5232543eaa00d8c5d2/libbs/api/decompiler_interface.py#L670

Aside from adding the callback endpoint, at least one decompiler needs to support actually calling the endpoint.

TODO: