Skip to content

Commit a612996

Browse files
secretnonemptyJunfeng Yang
authored and
Junfeng Yang
committed
Update uc.c
1 parent 271755e commit a612996

12 files changed

+15
-12
lines changed

bindings/dotnet/UnicornEngine/Binding/BindingFactory.fs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine.Binding
1+
namespace UnicornEngine.Binding
22

33

44
module BindingFactory =
@@ -9,4 +9,3 @@ module BindingFactory =
99

1010
let getDefault() =
1111
_instance
12-

bindings/dotnet/UnicornEngine/Binding/IBinding.fs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine.Binding
1+
namespace UnicornEngine.Binding
22

33
open System
44

@@ -25,3 +25,4 @@ type IBinding =
2525
abstract HookAddArg0 : UIntPtr * UIntPtr * Int32 * UIntPtr * IntPtr * UInt64 * UInt64 * Int32 -> Int32
2626
abstract HookAddArg0Arg1 : UIntPtr * UIntPtr * Int32 * UIntPtr * IntPtr * UInt64 * UInt64 * UInt64 * UInt64 -> Int32
2727
end
28+

bindings/dotnet/UnicornEngine/Binding/MockBinding.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine.Binding
1+
namespace UnicornEngine.Binding
22

33
open System
44

@@ -48,4 +48,4 @@ module internal MockBinding =
4848
member thi.HookAddArg0(eng, hh, callbackType, callback, userData, hookBegin, hookEnd, arg0) = hook_add_arg0(eng, hh, callbackType, callback, userData, hookBegin, hookEnd, arg0)
4949
member thi.HookAddArg0Arg1(eng, hh, callbackType, callback, userData, hookBegin, hookEnd, arg0, arg1) = hook_add_arg0_arg1(eng, hh, callbackType, callback, userData, hookBegin, hookEnd, arg0, arg1)
5050
}
51-
51+

bindings/dotnet/UnicornEngine/Const/Arm.fs

+1
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,4 @@ module Arm =
197197
let UC_ARM_REG_SL = 76
198198
let UC_ARM_REG_FP = 77
199199
let UC_ARM_REG_IP = 78
200+

bindings/dotnet/UnicornEngine/Const/M68k.fs

+1
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ module M68k =
4242
let UC_M68K_REG_SR = 17
4343
let UC_M68K_REG_PC = 18
4444
let UC_M68K_REG_ENDING = 19
45+

bindings/dotnet/UnicornEngine/Const/Ppc.fs

+1
Original file line numberDiff line numberDiff line change
@@ -409,3 +409,4 @@ module Ppc =
409409
let UC_PPC_REG_FPSCR = 78
410410
let UC_PPC_REG_CR = 79
411411
let UC_PPC_REG_ENDING = 80
412+

bindings/dotnet/UnicornEngine/ConvertUtility.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine
1+
namespace UnicornEngine
22

33
open System
44

bindings/dotnet/UnicornEngine/InternalHooks.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine
1+
namespace UnicornEngine
22

33
open System
44
open System.Runtime.InteropServices

bindings/dotnet/UnicornEngine/Unicorn.fs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace UnicornEngine
1+
namespace UnicornEngine
22

33
open System
44
open System.Collections.Generic
@@ -354,4 +354,3 @@ and Unicorn(arch: Int32, mode: Int32, binding: IBinding) =
354354
interface IDisposable with
355355
member this.Dispose() =
356356
this.Dispose()
357-

bindings/dotnet/UnicornEngine/UnicornEngine.fsproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>net6.0</TargetFramework>
44
<PackageId>UnicornEngine.Unicorn</PackageId>
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
namespace UnicornEngine
1+
namespace UnicornEngine
22

33
open System
44

55
type UnicornEngineException(errNo: Int32, msg: String) =
66
inherit ApplicationException(msg)
77

88
member this.ErrorNo = errNo
9+

uc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2403,4 +2403,4 @@ void trace_end(uc_tracer *tracer, trace_loc loc, const char *fmt, ...)
24032403
fprintf(stderr, "%.6fus\n",
24042404
(double)(end - tracer->starts[loc]) / (double)(1000));
24052405
}
2406-
#endif
2406+
#endif

0 commit comments

Comments
 (0)