projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c77c97e
)
Add missing registers enum
author
Amy Yu
<amycmyu@gmail.com>
Sat, 16 Jun 2018 00:37:10 +0000
(17:37 -0700)
committer
Amy Yu
<amycmyu@gmail.com>
Sat, 16 Jun 2018 00:37:10 +0000
(17:37 -0700)
src/tools/r2rdump/R2RReader.cs
patch
|
blob
|
history
diff --git
a/src/tools/r2rdump/R2RReader.cs
b/src/tools/r2rdump/R2RReader.cs
index f0f43fcca7bff5ff213855cbd63dc18a0fa71658..6017644a1e5eb6db47eebf0237f7df9479e9c90c 100644
(file)
--- a/
src/tools/r2rdump/R2RReader.cs
+++ b/
src/tools/r2rdump/R2RReader.cs
@@
-12,6
+12,26
@@
using System.Text;
namespace R2RDump
{
+ public enum Amd64Registers
+ {
+ EAX = 0,
+ ECX = 1,
+ EDX = 2,
+ EBX = 3,
+ ESP = 4,
+ EBP = 5,
+ ESI = 6,
+ EDI = 7,
+ E8 = 8,
+ E9 = 9,
+ E10 = 10,
+ E11 = 11,
+ E12 = 12,
+ E13 = 13,
+ E14 = 14,
+ E15 = 15,
+ }
+
class R2RReader
{
private readonly PEReader _peReader;