Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SandHook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
SandHook
Commits
a62d2036
Commit
a62d2036
authored
Sep 02, 2019
by
swift_gan
Committed by
swift_gan
Sep 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo
parent
935457ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
hook_arm32.cpp
nativehook/src/main/cpp/archs/arm/arm32/hook/hook_arm32.cpp
+1
-1
hook_arm64.cpp
nativehook/src/main/cpp/archs/arm/arm64/hook/hook_arm64.cpp
+1
-1
No files found.
nativehook/src/main/cpp/archs/arm/arm32/hook/hook_arm32.cpp
View file @
a62d2036
...
...
@@ -238,7 +238,7 @@ void InlineHookArm32Android::ExceptionHandler(int num, sigcontext *context) {
}
else
{
BreakCallback
callback
=
reinterpret_cast
<
BreakCallback
>
(
hook_info
.
replace
);
if
(
callback
(
context
,
hook_info
.
user_data
))
{
context
->
arm_pc
=
reinterpret_cast
<
U32
>
(
hook_info
.
replace
);
context
->
arm_pc
=
reinterpret_cast
<
U32
>
(
hook_info
.
backup
);
}
else
{
context
->
arm_pc
+=
4
;
}
...
...
nativehook/src/main/cpp/archs/arm/arm64/hook/hook_arm64.cpp
View file @
a62d2036
...
...
@@ -225,7 +225,7 @@ void InlineHookArm64Android::ExceptionHandler(int num, sigcontext *context) {
}
else
{
BreakCallback
callback
=
reinterpret_cast
<
BreakCallback
>
(
hook_info
.
replace
);
if
(
callback
(
context
,
hook_info
.
user_data
))
{
context
->
pc
=
reinterpret_cast
<
U64
>
(
hook_info
.
replace
);
context
->
pc
=
reinterpret_cast
<
U64
>
(
hook_info
.
backup
);
}
else
{
context
->
pc
+=
4
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment