All Projects → zjw-swun → JVMTI_Demo

zjw-swun / JVMTI_Demo

Licence: MIT license
android p jvmti/android studio apply change

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
java
68154 projects - #9 most used programming language
kotlin
9241 projects
CMake
9771 projects

Projects that are alternatives of or similar to JVMTI Demo

Dynamicoc
深入理解 iOS 热修复原理
Stars: ✭ 76 (+65.22%)
Mutual labels:  hook, hotfix
use-antd-resizable-header
antd表格头拖拽hook
Stars: ✭ 63 (+36.96%)
Mutual labels:  hook
AndroidSec
记录一些我自己在学习Android逆向过程中的有意思的东西
Stars: ✭ 565 (+1128.26%)
Mutual labels:  hook
use-change
The most minimalistic React state management library on the market with zero dependencies and React.useState-like syntax
Stars: ✭ 74 (+60.87%)
Mutual labels:  hook
kthook
No description or website provided.
Stars: ✭ 55 (+19.57%)
Mutual labels:  hook
react-imageViewer
React component for image displaying in full screen
Stars: ✭ 61 (+32.61%)
Mutual labels:  hook
storken
🦩 Storken is a React State Manager. Simple as `useState`.
Stars: ✭ 22 (-52.17%)
Mutual labels:  hook
crypto-watchdog
Crypto Watchdog is an open-source developer friendly project, periodically queries crypto market and notifies potential pumps & recently added tokens/coins via web-hooks.
Stars: ✭ 22 (-52.17%)
Mutual labels:  hook
WHMCS-Discord-Notifications
A hook to push a range of different WHMCS notifications instantly to a Discord channel.
Stars: ✭ 52 (+13.04%)
Mutual labels:  hook
isMounted
React hook to check if the component is still mounted
Stars: ✭ 93 (+102.17%)
Mutual labels:  hook
ProcessInjector.NET
Learning Process Injection and Hollowing techniques
Stars: ✭ 23 (-50%)
Mutual labels:  hook
ReSift
A state management library for data fetches in React
Stars: ✭ 39 (-15.22%)
Mutual labels:  hook
symdl
symdl is a simple little tool, its function is very similar to dlsym, with symdl, you can pass any global C function name string, so as to achieve the dynamic call of C function.
Stars: ✭ 49 (+6.52%)
Mutual labels:  hotfix
PEDetour
modify binary Portable Executable to hook its export functions
Stars: ✭ 59 (+28.26%)
Mutual labels:  hook
objc-format-check
🛠A code-format tool for C or OC
Stars: ✭ 75 (+63.04%)
Mutual labels:  hook
hotfix
Lua 5.2/5.3 hotfix. Hot update functions and keep old data.
Stars: ✭ 67 (+45.65%)
Mutual labels:  hotfix
hookman
A plugin management system in python to applications (in totally or partially) written in C++.
Stars: ✭ 29 (-36.96%)
Mutual labels:  hook
react-ui-hooks
🧩Simple repository of React hooks for building UI components
Stars: ✭ 20 (-56.52%)
Mutual labels:  hook
use-smooth-scroll
React hook which gives a smooth scrolling function.
Stars: ✭ 41 (-10.87%)
Mutual labels:  hook
AndroidGotHook
GOT Hook implemented in Android
Stars: ✭ 63 (+36.96%)
Mutual labels:  hook

JVMTI_Sample

代码fork自 https://github.com/AndroidAdvanceWithGeektime/JVMTI_Sample

感谢原作者分享!

该例子主要展示了JVM TI支持的几种功能:

  1. Memory Alloc Tracker
  2. GC Event Tracker
  3. JNI Method Rebind
  4. Class Retransform
  5. getObjectSize
  6. RedefineClasses (实现android studio 3.5的apply change功能)

注意:例子最好在9.0上测试,支持模拟器,8.0下修改 Class 功能无效

运行界面

产生的日志可以在 Logcat 中查看

I/jvmti: ==========alloc callback======= [I {size:32}
I/jvmti: ==========alloc callback======= java.lang.ref.WeakReference {size:24}
I/jvmti: ==========alloc callback======= java.lang.ref.WeakReference {size:24}
I/jvmti: ==========alloc callback======= [Ljava.lang.Object; {size:16}
I/jvmti: ==========触发 GCStart=======
I/jvmti: ==========触发 GCFinish=======
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].