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
..
2017-01-19 14:52:30 +08:00
2017-01-18 15:23:40 +08:00
2016-08-20 11:31:46 -07:00
2017-01-23 12:33:39 +08:00
2017-02-20 15:16:50 +08:00
2017-01-10 16:29:47 +08:00
2017-01-09 16:09:53 +08:00
2016-12-21 22:28:36 +08:00
2017-01-19 20:56:07 +08:00
2017-02-23 20:32:09 +08:00
2017-02-24 21:37:19 +08:00
2017-02-23 20:34:17 +08:00
2017-01-20 01:03:59 +08:00
2017-01-23 12:33:39 +08:00
2016-12-21 22:28:36 +08:00
2017-01-21 14:53:33 +08:00
2017-01-22 23:07:17 +08:00
2016-12-21 22:28:36 +08:00
2017-01-22 23:07:17 +08:00
2015-08-21 15:04:50 +08:00
2017-01-22 05:56:37 +08:00
2015-08-21 15:04:50 +08:00
2015-08-21 15:04:50 +08:00
2017-01-20 14:57:33 +08:00
2017-01-09 14:05:39 +08:00
2016-09-23 07:38:21 -07:00
2017-01-20 17:03:39 +08:00
2015-08-28 21:05:38 -07:00
2017-01-02 01:00:11 +08:00
2015-08-21 15:04:50 +08:00
2017-01-22 23:07:17 +08:00
2016-01-22 18:41:43 -08:00
2015-08-21 15:04:50 +08:00
2017-01-22 23:07:17 +08:00
2017-01-19 14:52:30 +08:00
2017-01-21 21:50:12 +08:00
2015-08-21 15:04:50 +08:00
2016-12-21 22:28:36 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2015-08-21 15:04:50 +08:00
2015-08-21 15:04:50 +08:00
2017-01-20 16:46:58 +08:00
2015-08-21 15:04:50 +08:00
2016-10-22 11:19:55 +08:00
2017-01-22 23:07:17 +08:00
2017-01-22 23:07:17 +08:00
2015-08-21 15:04:50 +08:00
2016-12-21 22:28:36 +08:00
2015-08-21 15:04:50 +08:00
2016-12-21 22:28:36 +08:00
2015-08-21 15:04:50 +08:00
2017-01-09 14:05:39 +08:00
2015-08-21 15:04:50 +08:00
2017-01-22 23:07:17 +08:00