Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 qemu 中,当我们给出指令时,它会被转换为特定架构的机器代码。我想将此代码写入文件。为此,我认为在 cpu-exec.c 中获得了生成的代码(返回执行)。我将如何将其复制到文件中?
/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); 尝试破解它。