mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 13:45:29 +03:00
Implement GetInfo #8 IsCurrentProcessBeingDebugged
This commit is contained in:
parent
3ed3365d81
commit
0eef380781
@ -21,6 +21,9 @@ namespace core::kernel {
|
|||||||
{
|
{
|
||||||
switch (GetRegister(UC_ARM64_REG_X1))
|
switch (GetRegister(UC_ARM64_REG_X1))
|
||||||
{
|
{
|
||||||
|
case 8: // IsCurrentProcessBeingDebugged
|
||||||
|
SetRegister(UC_ARM64_REG_X1, 0); // We're just lying to ourselves. Think about it
|
||||||
|
break;
|
||||||
case 12: // AddressSpaceBaseAddr
|
case 12: // AddressSpaceBaseAddr
|
||||||
SetRegister(UC_ARM64_REG_X1, BASE_ADDRESS);
|
SetRegister(UC_ARM64_REG_X1, BASE_ADDRESS);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user