Comments (3)
这个hook库非常好用,比那空有名气,臃肿又难用,时不时还出错,还要闭源的substrate,好多了。
from android-inline-hook.
感想认可
from android-inline-hook.
老大,咋不更新呢?
`#ifndef _INLINEHOOK_H
#define _INLINEHOOK_H
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
enum ele7en_status {
ELE7EN_ERROR_UNKNOWN = -1,
ELE7EN_OK = 0,
ELE7EN_ERROR_NOT_INITIALIZED,
ELE7EN_ERROR_NOT_EXECUTABLE,
ELE7EN_ERROR_NOT_REGISTERED,
ELE7EN_ERROR_NOT_HOOKED,
ELE7EN_ERROR_ALREADY_REGISTERED,
ELE7EN_ERROR_ALREADY_HOOKED,
ELE7EN_ERROR_SO_NOT_FOUND,
ELE7EN_ERROR_FUNCTION_NOT_FOUND
};
enum ele7en_status registerInlineHook(uint32_t target_addr, uint32_t new_addr, uint32_t **proto_addr);
enum ele7en_status inlineUnHook(uint32_t target_addr);
void inlineUnHookAll();
enum ele7en_status inlineHook(uint32_t target_addr);
void inlineHookAll();
#ifdef __cplusplus
}
#endif
#endif`
from android-inline-hook.
Related Issues (20)
- 直接使用本进程PTRACE_ATTACH线程,会出现operation not permitted,即使赋予root权限也是同样的错误,具体原因不得而知 HOT 3
- relocate的一个小问题 HOT 8
- 报告一个ELE7EN_ERROR_NOT_EXECUTABLE的小问题 HOT 1
- hook或unhook时会造成ANR异常 HOT 4
- Hook某些函数导致进程崩溃的现象 HOT 1
- Android7.0问题 HOT 1
- 7.0之上thumb指令pc=当前地址+2 ? HOT 1
- LDR_THUMB32 分支生成的 trampoline 寄存器不正确 HOT 1
- 子线程触发hook时引起的父进程与子进程互锁问题 HOT 3
- Android8.0 hook成功但是执行完hook方法之后崩溃
- 可以hook后篡改到其他进程去不 HOT 1
- 判断指令集 HOT 1
- 学习 adbi和您的代码后 有点疑问
- 提供是否做线程处理的选项
- hook libc.so memcmp
- 大哥,搞个支持64位的呗 HOT 1
- Compiling warnings HOT 1
- 是否支持修改同一个地址? HOT 1
- 在android 7.0上hook AAssetManager_open函数运行崩溃(其他版本运行正常) HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-inline-hook.