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
27782e47
Commit
27782e47
authored
Jan 17, 2019
by
swift_gan
Committed by
swift_gan
Jan 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code
parent
48df9f47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
arm32.S
app/src/main/cpp/trampoline/arch/arm32.S
+10
-0
arm64.S
app/src/main/cpp/trampoline/arch/arm64.S
+2
-2
No files found.
app/src/main/cpp/trampoline/arch/arm32.S
0 → 100644
View file @
27782e47
#include "base.h"
FUNCTION_START(hook_trampoline)
adr r0, addr_art_method
adr pc, addr_entry_code
addr_art_method:
.long 0
addr_entry_code:
.long 0
FUNCTION_END(hook_trampoline)
app/src/main/cpp/trampoline/arch/arm64.S
View file @
27782e47
#include "base.h"
#include "base.h"
FUNCTION_START(hook_trampoline)
FUNCTION_START(hook_trampoline)
l
dr x0, addr_art_method
a
dr x0, addr_art_method
l
dr x16, addr_entry_code
a
dr x16, addr_entry_code
br x16
br x16
addr_art_method:
addr_art_method:
.long 0
.long 0
...
...
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