➜ op7t git:(dev) ✗ gdb
GNU gdb (GDB)
8.3
Copyright (C)
2019
Free Software Foundation, Inc.
License GPLv3
+
: GNU GPL version
3
or
later <http:
/
/
gnu.org
/
licenses
/
gpl.html>
This
is
free software: you are free to change
and
redistribute it.
There
is
NO WARRANTY, to the extent permitted by law.
Type
"show copying"
and
"show warranty"
for
details.
This GDB was configured as
"x86_64-apple-darwin14.5.0"
.
Type
"show configuration"
for
configuration details.
For bug reporting instructions, please see:
<http:
/
/
www.gnu.org
/
software
/
gdb
/
bugs
/
>.
Find the GDB manual
and
other documentation resources online at:
<http:
/
/
www.gnu.org
/
software
/
gdb
/
documentation
/
>.
For
help
,
type
"help"
.
Type
"apropos word"
to search
for
commands related to
"word"
.
(gdb)
(gdb)
(gdb) target remote :
1234
Remote debugging using :
1234
(gdb) b
*
0x718594c564
Breakpoint
1
at
0x718594c564
(gdb) c
Continuing.
[Switching to Thread
8206.8235
]
Thread
13
"UnityMain"
hit Breakpoint
1
,
0x000000718594c564
in
il2cpp::icalls::mscorlib::System::IO::MonoIO::Open40(char16_t
*
,
int
,
int
,
int
,
int
,
int
*
) ()
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
(gdb) b
*
0x718594c564
Breakpoint
1
at
0x718594c564
(gdb) hbreak
*
0x718592ac14
Hardware assisted breakpoint
2
at
0x718592ac14
(gdb) c
Continuing.
Thread
13
"UnityMain"
hit Breakpoint
2
,
0x000000718592ac14
in
il2cpp::os::
File
::
Open
(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&,
int
,
int
,
int
,
int
,
int
*
) ()
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
(gdb) bt
(gdb) bt
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
()
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libil2cpp.so
from
target:
/
data
/
app
/
com.DefaultCompany.krhook_unity3d
-
PL6MaRBI5vxhNhVP3URXtA
=
=
/
lib
/
arm64
/
libunity.so
from
target:
/
apex
/
com.android.runtime
/
lib64
/
libart.so
from
target:
/
apex
/
com.android.runtime
/
lib64
/
libart.so
from
target:
/
apex
/
com.android.runtime
/
lib64
/
libart.so