23477ccb5f
x86 cflow and x86 constant decryption Backport of LINQ (LinqBridge) Shift left/right emulation fixes in de4dot core Block class extended to hold additional information
33 lines
759 B
C#
33 lines
759 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace de4dot.Bea
|
|
{
|
|
public class BeaEngine
|
|
{
|
|
[DllImport("BeaEngine.dll")]
|
|
public static extern int Disasm([In, Out, MarshalAs(UnmanagedType.LPStruct)] Disasm disasm);
|
|
|
|
[DllImport("BeaEngine.dll")]
|
|
private static extern string BeaEngineVersion();
|
|
|
|
[DllImport("BeaEngine.dll")]
|
|
private static extern string BeaEngineRevision();
|
|
|
|
public static string Version
|
|
{
|
|
get
|
|
{
|
|
return BeaEngineVersion();
|
|
}
|
|
}
|
|
|
|
public static string Revision
|
|
{
|
|
get
|
|
{
|
|
return BeaEngineRevision();
|
|
}
|
|
}
|
|
}
|
|
}
|