-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathBNCreateUserVariable.cs
More file actions
37 lines (31 loc) · 957 Bytes
/
BNCreateUserVariable.cs
File metadata and controls
37 lines (31 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
namespace BinaryNinja
{
internal static partial class NativeMethods
{
/// <summary>
/// void BNCreateUserVariable(BNFunction* func, BNVariable* var, BNTypeWithConfidence* type, const char* name, bool ignoreDisjointUses)
/// </summary>
[DllImport(
"binaryninjacore",
CallingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl,
CharSet = CharSet.Ansi,
EntryPoint = "BNCreateUserVariable"
)]
internal static extern void BNCreateUserVariable(
// BNFunction* func
IntPtr func ,
// BNVariable* _var
in BNVariable _var ,
// BNTypeWithConfidence* type
in BNTypeWithConfidence type ,
// const char* name
string name ,
// bool ignoreDisjointUses
bool ignoreDisjointUses
);
}
}