From 28b94d10b8ff76a2193a4ae42f6949a7f58fd4a0 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 14 Mar 2016 09:14:48 +0800 Subject: [PATCH] bindings: add X86 FPTAGS & FPCW registers after recent change in the core --- bindings/dotnet/UnicornManaged/Const/X86.fs | 4 +++- bindings/go/unicorn/x86_const.go | 4 +++- bindings/java/unicorn/X86Const.java | 4 +++- bindings/python/unicorn/x86_const.py | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/bindings/dotnet/UnicornManaged/Const/X86.fs b/bindings/dotnet/UnicornManaged/Const/X86.fs index e293d5a1..d0526f87 100644 --- a/bindings/dotnet/UnicornManaged/Const/X86.fs +++ b/bindings/dotnet/UnicornManaged/Const/X86.fs @@ -255,7 +255,9 @@ module X86 = let UC_X86_REG_GDTR = 243 let UC_X86_REG_LDTR = 244 let UC_X86_REG_TR = 245 - let UC_X86_REG_ENDING = 246 + let UC_X86_REG_FPCW = 246 + let UC_X86_REG_FPTAG = 247 + let UC_X86_REG_ENDING = 248 // X86 instructions diff --git a/bindings/go/unicorn/x86_const.go b/bindings/go/unicorn/x86_const.go index 49e2310f..ef18c08e 100644 --- a/bindings/go/unicorn/x86_const.go +++ b/bindings/go/unicorn/x86_const.go @@ -250,7 +250,9 @@ const ( X86_REG_GDTR = 243 X86_REG_LDTR = 244 X86_REG_TR = 245 - X86_REG_ENDING = 246 + X86_REG_FPCW = 246 + X86_REG_FPTAG = 247 + X86_REG_ENDING = 248 // X86 instructions diff --git a/bindings/java/unicorn/X86Const.java b/bindings/java/unicorn/X86Const.java index 9c6d93ee..7afed1f9 100644 --- a/bindings/java/unicorn/X86Const.java +++ b/bindings/java/unicorn/X86Const.java @@ -252,7 +252,9 @@ public interface X86Const { public static final int UC_X86_REG_GDTR = 243; public static final int UC_X86_REG_LDTR = 244; public static final int UC_X86_REG_TR = 245; - public static final int UC_X86_REG_ENDING = 246; + public static final int UC_X86_REG_FPCW = 246; + public static final int UC_X86_REG_FPTAG = 247; + public static final int UC_X86_REG_ENDING = 248; // X86 instructions diff --git a/bindings/python/unicorn/x86_const.py b/bindings/python/unicorn/x86_const.py index 8f93c0e0..ee5ba38f 100644 --- a/bindings/python/unicorn/x86_const.py +++ b/bindings/python/unicorn/x86_const.py @@ -248,8 +248,8 @@ UC_X86_REG_IDTR = 242 UC_X86_REG_GDTR = 243 UC_X86_REG_LDTR = 244 UC_X86_REG_TR = 245 -UC_X86_REG_FPTAGS = 246 -UC_X86_REG_FPCW = 247 +UC_X86_REG_FPCW = 246 +UC_X86_REG_FPTAG = 247 UC_X86_REG_ENDING = 248 # X86 instructions