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
8b1814e6
Commit
8b1814e6
authored
Apr 03, 2019
by
swift_gan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update doc
parent
42cd4e9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
doc.md
doc/doc.md
+22
-2
No files found.
doc/doc.md
View file @
8b1814e6
...
...
@@ -183,8 +183,28 @@ https://github.com/ganyao114/SandVXposed
#### ArtMethod
-
在大约 6.0 及之前,java 层中有隐藏类 ArtMethod,Method 与之一对一,而 mirror::ArtMethod 就是 java 层 ArtMethod 的映射。
-
6.0 之后,java ArtMethod 不复存在,Method 与 mirror::ArtMethod 一对一映射,只不过大部分 Field 被 "隐藏" 了。
-
java 层中有类 ArtMethod,Method 与之一对一, Method 中含有 ArtMethod 的引用,而 mirror::ArtMethod 就是 java 层 ArtMethod 的映射。
-
6.0 之后,java ArtMethod 不复存在,被完全隐藏。
----
```
cpp
// C++ mirror of java.lang.reflect.Method.
class
MANAGED
Method
:
public
Executable
{
....
}
// C++ mirror of java.lang.reflect.Executable.
class
MANAGED
Executable
:
public
AccessibleObject
{
uint16_t
has_real_parameter_data_
;
HeapReference
<
mirror
::
Class
>
declaring_class_
;
HeapReference
<
mirror
::
Class
>
declaring_class_of_overridden_method_
;
HeapReference
<
mirror
::
Array
>
parameters_
;
// ArtMethod 地址
uint64_t
art_method_
;
uint32_t
access_flags_
;
uint32_t
dex_method_index_
;
}
```
----
...
...
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