开发者

Capturing code generated by Qemu in a file

In qemu, when we are giving instructions it gets converted to the machine code for the particular architecture. I would like to write this code to a file. For that I th开发者_JAVA技巧ink in cpu-exec.c the generated code is obtained (it is returned for execution). How will i copy it to a file?

 /qemu-0.14.0/cpu-exec.c


find cpu_gen_code() @ translate-all.c:57, -to-> @ line104: log_disas(tb->tc_ptr, *gen_code_size_ptr); try to hack it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜