Author: admin

Filter out special character in json

$str=”`!@#$%^&*()_+[]\{}|;’:\”,./?”; $str=str_replace(“\\”,”\\\\”, $str); $str=str_replace(“\””,”\\\””, $str);


2012/11/29 0

Dev target 2013/02

1) port peter-bochs to qemu 2) finish new lib stub open() 3) make the libc layer fully working 4) Pass all PKU exams


2012/11/28 0

qemu-kvm is much slower than qemu for single-step

I can do 1500 single-steps per second in qemu. But i can only do 148 in qemu-kvm. I test it by: 1) create a debug server in qemu 2) send huge amount of “s” command from a java program, every “s” command will perform one single step action in qemu.


2012/11/28 0

fail to single step qemu

Hi all I created a simple debug server on qemu, it receives command from tcp, but when i try to single step qemu, it fails, it will keep running rather than stop in the next instruction. I have traced the code a little bit, for gdb, when gdb do single step, the process will throw…
Read more


2012/11/21 0