Replies: 4 comments 7 replies
-
@pjsoberoi going for the easy requests, I see. :) Would love to see an open-source trace format, but better programmers than I have tried and failed on this front. Again, just for the sake of discussion, what would you want for the proposed format:
Obviously many of these options are mutually exclusive, and I’m not sure you could even option your way through them. Also, there’s the whole issue of adoption - if you’re shooting for widespread adoption, the format has to at least be able to match the constraints of possible generators. Just my two cents. Would be interested in ideas/discussion of the possibilities and possible use cases. |
Beta Was this translation helpful? Give feedback.
-
Obviously you have spent much more time researching this area than I have. I have not considered possible format optimizations at all. The first idea that came to mind is to maybe have a simple raw trace format that can be optimized post collection into another format. The goals would be to optimize for collection speed, simple format to implement (for reading and writing), and tools to convert to other optimized formats for different uses cases.
Yes.
No. Another program can optimize the trace afterwards into another format.
No. Another program can optimize the trace afterwards into another format.
No. Another program can optimize the trace afterwards into another format.
Maybe have flags for instructions, instructions + regs, instructions + regs + memory deltas. I can do useful stuff with just instructions + regs, I don't know what I could do with just instructions.
All state encapsulated by instructions + regs + memory deltas seems doable. State such as other processes, kernel, network stack, etc seem really hard. I would skip that for now.
Sure. But that can be an option. Seems hard so skip it for now.
No. Another program can optimize the trace afterwards into another format and that can handle custom events.
Yes.
No. Another program can optimize the trace afterwards into another format.
No. Another program can take the trace as input and transform it to something human readable.
Yes. |
Beta Was this translation helpful? Give feedback.
-
A bit random, but wanted to say I haven't forgotten about this - just haven't had time to really take it on. |
Beta Was this translation helpful? Give feedback.
-
Related: #2730 (comment) |
Beta Was this translation helpful? Give feedback.
-
@d-millar,
Similar to this discussion on the GADP protocol, I would like to request the creation of an open source Ghidra trace format. I can see a lot of ideas for tools that can use the trace format.
Beta Was this translation helpful? Give feedback.
All reactions