Beispiel #1
0
        public CapstoneWrapper()
        {
            Handle    = IntPtr.Zero;
            LastError = cs_err.CS_ERR_OK;

            LastInstruction = new cs_insn();
        }
Beispiel #2
0
 private void ThrowOnError(cs_err Result)
 {
     LastError = Result;
     if (HasError)
     {
         throw new CapstoneError(ErrorString);
     }
 }
Beispiel #3
0
 internal static extern IntPtr cs_strerror([In] cs_err code);