Comments (8)
Please attach the CMake error message.
from andhook.
Since stat
is a kind of ambiguous symbol, you probably have to make it clear (e.g. get its function pointer first and then use AKHookFunction
directly).
from andhook.
Can you give me the example above ? i do not know where 'function pointer first' is. pls help me.
from andhook.
Sorry, my Cmake not error message, I want to ask you how hook function stat :(
i cannot hook it with AKHook(stat), please give me the any examples. thanks you
struct stat buf; char *res="/system/xbin/su"; int resultNow = stat(res, &buf) == 0 ? 1 : 0; if (resultNow == 1) { AKLog("IS ROOTED"); } else { AKLog("NOT ROTED"); }
from andhook.
Are you sure AKHook(stat)
is called properly before stat
?
from andhook.
Yes, i sure AKHook(stat) call before run stat;
from andhook.
That's impossible, inline hook should never fail without crashing the application.
from andhook.
OK, thanks you, i think my mistake. i will build again .
from andhook.
Related Issues (20)
- libAK_20.so + 0x30fc 崩溃 HOT 1
- 虚拟机崩溃
- zygote AKInitializeOnce失败 HOT 2
- How to install andhook? HOT 1
- NoSuchMethodError getPackageInfo
- hook libc.so clock_gettime 闪退
- 如何hook微信方法?
- 寻求andhook 二次开发
- 混淆proguard咋写
- When does this tool support android Q?
- 如何在andhook的app程序里hook另一个app里的方法? HOT 1
- andhook crash when arm64 app
- 在Android9.0上直接崩溃,请问有支持Android9.0的计划么
- hook fun getPackageName inoperative
- hook fun getPackageName inoperative
- How to hook events?
- proc/$pid/mem HOT 1
- I got error
- crashing on 64 bit
- How to use in cmake
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 andhook.