Beispiel #1
0
 internal void RegWrite(int regId, ref double value)
 => Bindings.RegWrite(Handle, regId, ref value);
Beispiel #2
0
 internal void RegWrite(int regId, ref NeonRegister value)
 => Bindings.RegWrite(Handle, regId, ref value);
Beispiel #3
0
 internal void RegWrite(int regId, ref float value)
 => Bindings.RegWrite(Handle, regId, ref value);
Beispiel #4
0
 internal void RegRead(int regId, ref double value)
 => Bindings.RegRead(Handle, regId, ref value);
Beispiel #5
0
 internal void RegRead(int regId, ref float value)
 => Bindings.RegRead(Handle, regId, ref value);
Beispiel #6
0
 /// <summary>
 /// Stops the emulation.
 /// </summary>
 /// <exception cref="UnicornException">Unicorn did not return <see cref="UnicornError.Ok"/>.</exception>
 /// <exception cref="ObjectDisposedException"><see cref="Emulator"/> instance is disposed.</exception>
 public void Stop()
 {
     ThrowIfDisposed();
     Bindings.EmuStop(Handle);
 }
Beispiel #7
0
 /// <summary>
 /// Starts emulation at the specified begin address and end address.
 /// </summary>
 /// <param name="begin">Address at which to begin emulation.</param>
 /// <param name="until">Address at which to end emulation.</param>
 /// <exception cref="UnicornException">Unicorn did not return <see cref="UnicornError.Ok"/>.</exception>
 /// <exception cref="ObjectDisposedException"><see cref="Emulator"/> instance is disposed.</exception>
 public void Start(ulong begin, ulong until)
 {
     ThrowIfDisposed();
     Bindings.EmuStart(Handle, begin, until, 0, UIntPtr.Zero);
 }