Add Java binding for ctl set_cpu_model (#1600)
Add Java binding for ctl set_cpu_model
This commit is contained in:
committed by
GitHub
parent
0c975caf09
commit
36011e145c
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user