-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Would it be possible to add a method with the signature
IEnumerable<T1, T2, T3> DisassembleStream(byte[] bytes, int count, long startAddress)
to the Disassembler
class that lazily disassembles the bytes in the byte stream?
The use case that I'm dealing with is tracing the disassembly of a basic block, and wanting to stop when I reach instructions like jmp
or ret
which terminate basic blocks. It would be very convenient if it were possible to say: "start disassembling these bytes at this position, and return a lazy stream of instructions." . I don't want to disassemble the entire .text
segment if it turns out the first 10 bytes are code and the remaining 10000 are read-only data.
Metadata
Metadata
Assignees
Labels
No labels