unicorn/include/unicorn
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
..
arm.h update ChangeLog 2017-01-25 12:00:18 +08:00
arm64.h renames the register constants so unicorn and capstone can compile together 2015-08-23 21:36:33 -07:00
m68k.h delete include/unicorn/platform.h 2016-04-30 08:41:12 +08:00
mips.h renames the register constants so unicorn and capstone can compile together 2015-08-23 21:36:33 -07:00
sparc.h delete include/unicorn/platform.h 2016-04-30 08:41:12 +08:00
unicorn.h Update unicorn.h (#753) 2017-02-21 10:22:17 +08:00
x86.h x86: add MSR API via reg API (#755) 2017-02-24 21:37:19 +08:00