These are chat archives for BinaryAnalysisPlatform/qira

16th
Sep 2015
Ivan Gotovchits
@ivg
Sep 16 2015 14:16
Hi guys,
Have you considered to use TCG plugin mechanism 1 to dump traces from QIRA, instead of patching the TCG itself?
George Hotz
@geohot
Sep 16 2015 16:01
hmm, so i did this over a year ago
i forget if i looked at it, but looking now i don't see a way to get the registers
though it probably is a nicer way to get the ram
Ivan Gotovchits
@ivg
Sep 16 2015 16:13
yeah, it looks like that getting registers is still possible, but it will require to write more code. Basically, one need to reimplement some subset of the TCI.
I'm currently trying to decide what trace tool we will use in BAP, and how. Our legacy patch to qemu looks unmaintainable, so I'm looking at your tracer. Ideally, we can factor it out, so that it can be used by both project. What do you think of it?
George Hotz
@geohot
Sep 16 2015 19:28
sounds good, i would redesign the trace format a bit perhaps too
keep the code as simple as possible
but it would be really nice if we could do it with a plugin, easier to work with future versions of qemu