Hello, Thanks so much for reading this and I appreciate any and all time you put into this.
I'm a dev working on a project that's using QEMU as its basis. I'm interested in extracting the IR representation of translation blocks, preferably at the instruction level, to do some analysis on it. In various documentation around the web I see lots of references to textual examples of the IR so I assumed it would be possible to extract it in byte format and convert to textual myself. I've done a lot of digging in the source and found the code_gen_buffer and determined that's where the IR generation is being written to, but I'm having trouble cross referencing DisasContext, etc, with that global to actually identify individual lines of code. I'm also assuming there's some kind of framing going on, so I don't think that I can even expect it to be a simple buffer of bytes. So my - is this reasonable to even attempt, and if so, how would you go about doing it? Regards, -T