Thanks ap,
But I'm trying the patched temu(2010), and it seems has no load_config command anymore.
And the following is the execution and command line output info, it seems the config file is loaded automatically when call load_config, the main.ini's content seems is loaded, because the modification in it affect the command line output contents, you can see it below.
Is there anything I forgot?
I would like you have a try to the newest temu, to see if you can give me a help, thanks!
(qemu) load_plugin ./temu-1.0/tracecap/tracecap.so
general/trace_only_after_first_taint is enabled.
general/log_external_calls is disabled.
general/write_ops_at_insn_end is disabled.
general/save_state_at_trace_stop is disabled.
tracing/tracing_table_lookup is enabled.
tracing/tracing_tainted_only is disabled.
tracing/tracing_single_thread_only is disabled.
tracing/tracing_kernel is disabled.
tracing/tracing_kernel_tainted is disabled.
tracing/tracing_kernel_partial is disabled.
network/ignore_dns is disabled.
Enabled: 0x00 Proto: 0x00 Sport: 0 Dport: 0 Src: 0.0.0.0 Dst: 0.0.0.0
Loading plugin options from: /home/ubuntu/Downloads/bitblaze/temu-1.0/tracecap/ini/hook_plugin.ini
Loading plugins from: /home/ubuntu/Downloads/bitblaze/temu-1.0/shared/hooks/hook_plugins
Cannot determine file system type
Cannot determine file system type
Cannot determine file system type
./temu-1.0/tracecap/tracecap.so is loaded successfully!
(qemu) enable_emulation
Emulation is now enabled
(qemu) tracebyname notepad.exe "notepad.exe.trace"
PID: 1720 CR3: 0x24583000
(qemu) taint_file "/abc.txt" 0 0
Tainting disk 0 file /abc.txt
Tainted file /abc.txt
2944:1207[764]
(qemu) trace_stop
Stop tracing process 1720
Number of instructions decoded: 3143257
Number of operands decoded: 7709353
Number of instructions written to trace: 0
Number of tainted instructions written to trace: 0
Processing time: 19.552 U: 19.392 S: 0.16
Generating file: notepad.exe.trace.functions
(qemu) unload_plugin
Emulation is now disabled
./temu-1.0/tracecap/tracecap.so is unloaded!