A problem about "taint_file"

41 views
Skip to first unread message

guangcheng liang

unread,
May 24, 2012, 8:28:16 AM5/24/12
to bitblaz...@googlegroups.com
Hi,
When I use "taint_file" instruction to get trace file, I encounter a problem that I can't use the command line "taint_file "0914.txt" 0 1001". I have tried to search the solution through Bitblaze Group, but util now I can't solve the problem. 

Through some ralated search in the Group, I realized that due to the disk cache I should setup two hard disks in my guest OS but not one disk with C and D partitions. Am I right ? If so, how I set up two disks in my guest OS? Or other solutions to use taint_file successfully?

This problem has puzzled me for much time. I really need someone give me sugguestions! Thanks for your reply in advance! 

--
Good luck,
Guangcheng Liang

赵磊

unread,
May 24, 2012, 8:42:07 AM5/24/12
to bitblaz...@googlegroups.com
1) use qemu to create a new disk image, such as
  
qemu-img create ubuntu2.img 4G

2) then start temu and mount the 2 disk images
qemu -hda ~/ubuntu.img -hdb ~/ubuntu2.img

3) start the VM, then you will see two disks.
for windows systems, put the file you want to taint into the second disk.



2012/5/24 guangcheng liang <guangch...@gmail.com>
Reply all
Reply to author
Forward
0 new messages