unicorn/qemu/target-i386
Ahmed Samy 02e6c14e12 x86: add MSR API via reg API (#755)
Writing / reading to model specific registers should be as easy as
calling a function, it's a bit stupid to write shell code and run them
just to write/read to a MSR, and even worse, you need more than just a
shellcode to read...

So, add a special register ID called UC_X86_REG_MSR, which should be
passed to uc_reg_write()/uc_reg_read() as the register ID, and then a
data structure which is uc_x86_msr (12 bytes), as the value (always), where:
	Byte	Value		Size
	0	MSR ID		4
	4       MSR val		8
2017-02-24 21:37:19 +08:00
..
arch_memory_mapping.c
cc_helper.c
cc_helper_template.h
cpu-qom.h
cpu.c more cleanup 2017-01-10 16:29:47 +08:00
cpu.h eflags patch 2016-08-09 19:38:44 -07:00
excp_helper.c
fpu_helper.c
helper.c cleanup Monitor related code 2017-01-23 00:53:31 +08:00
helper.h
int_helper.c
Makefile.objs
mem_helper.c no more spinlock 2017-01-20 14:57:33 +08:00
misc_helper.c cleanup unused code 2016-11-19 23:48:23 +08:00
ops_sse.h
ops_sse_header.h
seg_helper.c
shift_helper_template.h
smm_helper.c
svm.h
svm_helper.c
TODO
topology.h
translate.c Undo the disaster that was the patch to unicorn github issue #266 and fix it correctly. makes normal self-modifying code work. 2016-08-09 19:35:20 -07:00
unicorn.c x86: add MSR API via reg API (#755) 2017-02-24 21:37:19 +08:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00