Re:Re: QEMU function trace

2022-12-14 Thread wanghw364
Thanks very much. According to your reply, I reviewd qemu loader and plugins source code again, I think I've got what you mentioned. In qemu linux-user(user mode) case, the guest images are all ELF format, and inside the ELF loader qemu will call load_symbols function, so in this case, the s

Re:Re: QEMU function trace

2022-12-14 Thread wanghw364
Thanks. I have several questions as below, please help, thanks. 1.What do you mean by "only have debug symbols available for linux-user so"? What does the linux-user so refer to? qemu_plugin_insn_symbol() can only see symbols from linux-user so? 2.The purpose of teaching the linux kernel load