Here's the situation - you want to find the bytecode that was just executed in a frame, possibly in a trace func. Here are a pair of things you could want:
- Does this code look correct for all cases?
- Does this make sense as a library addition? If so, how are these operations best exposed in the API?
Here's the situation - you want to find the bytecode that was just executed in a frame, possibly in a trace func. Here are a pair of things you could want:
The current
ConcreteInstrobject corresponding tof_lasti:Which can be used as:
the current
Instrobject corresponding tociorflasti:Used as