Add Java binding for ctl set_cpu_model (#1600)

Add Java binding for ctl set_cpu_model
This commit is contained in:
JeroenRobbenFirmalyzer1
2022-04-24 13:29:48 +02:00
committed by GitHub
parent 0c975caf09
commit 36011e145c
2 changed files with 20 additions and 0 deletions

View File

@@ -821,5 +821,11 @@ public class Unicorn implements UnicornConst, ArmConst, Arm64Const, M68kConst, S
*/
public native void context_restore(long context);
/**
* Set the emulated cpu model.
*
* @param cpu_model CPU model type (see UC_CPU_*).
*/
public native void ctl_set_cpu_model(int cpu_model);
}