in reply to Getting a B::OP from an address?
The deref function of Devel::Pointer is for handling perl values, not random chunks of memory. And an opcode isn't a standard perl value. I think you'll probably be better served digging through the B::* modules. If it were me, I'd start with B::Utils from which you can navigate the opcode tree(s) in a program.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|