Open toolCHAINZ opened 2 weeks ago
Found it here, but I am not sure is it part of sleigh?
and it is populated here:
can be accessed from:
Locally, I implemented name extraction by retrieving the actual analyzed instruction mnemonic and using it as the callother name. Do you think we still need an API for the callother name when it can be extracted this way?
//I'd like to confirm that the first parameter of the input is indeed the callother ID.
Poked around at what you found (thanks!) and it looks like the sleigh context has this helper function:
So we could add that in to the FFI and expose that mapping to rust. It looks like the op ids are assumed to be sequential, without gaps, and are assigned programmatically by sleigh when it parses the user ops from the spec.
sleigh
has some internal mechanism for querying the name associated with acallother
id. Need to find this API and expose it to rust.