endoli / disassemble.rs

Work with disassembled code.

Home Page:https://endoli.github.io/disassemble.rs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to read from "memory"

waywardmonkeys opened this issue · comments

When we have a pointer, it would be nice if we could look at the contents of that pointer, if we know them (like they're in the object files) ... this would let us show string contents when we are working with strings, for example.

I'm not sure what else is required at this level or how exactly this should look.

I'm not sure what this means in the context of disassemble? Usually the disassembler will go off and do it's best even if the data isn't "code". Is this for some case when you know that some bit of memory is just binary data?

@emoon The idea is that when an address points to something like a static string, we want to be able to show that (at least as a comment) ... and if we were decompiling, we'd want that to be what makes it into the source. This is useful when looking at calls to printf and so on ...

Ah right.. similar the way IDA does it?

I haven't used IDA, but from screenshots, yes. Also useful for reading vtables or Objective C metadata.

Cool. Yeah it's a nice feature for sure.