Comments (4)
Move the keep()
call after the callout. Code emitted after a branch isn't reached, as execution is transferred to the next block.
from frida-gum.
@oleavr
As you said, I've changed the code like this and this causes the target process to crash and nothing is printed is frida CLI:
I also tried to keep the first keep() and just add a second keep() after the callout and still the callout is not called but some log are printed in frida cli but it also trigger the target process to crash
from frida-gum.
I didn't mean to move it inside the if-block. That crashes because you're telling Stalker to skip all instructions except CALL instructions.
Code you emit before keep()
is inserted before the instruction being kept, code you emit after gets inserted after the instruction being kept.
from frida-gum.
right, i fixed it like this
thx a lot !
the issue #805 still remains though
from frida-gum.
Related Issues (20)
- gum_stalker_new() Crash!!!!!!!!!! HOT 1
- Regression(?) in Module.enumerateExports and Module.enumerateSymbols HOT 1
- Under certain cases, `_gum_interceptor_backend_create_trampoline` does not relocate instructions properly on aarch64 for the `on_invoke_trampoline` HOT 1
- Signal handling on macOS
- Frida capstone's version is too older
- iterator.context is undefined
- Windows 11 Build Error
- `Module.enumerateSymbols` missed lots of local symbols from iOS dyld_shared_cache
- Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 16884 HOT 3
- TypeError: cannot read property 'objc_lookUpClass' of null
- NativeCallback unable to leave thread's last error unchanged
- Don't lose track of the stalker follow when a windows C++/SEH exception is thrown
- [Stalker]Unable to allocate code slab near 0x7c4f333000 with max_distance=2138779647 HOT 2
- Diet Build fails
- Error from previous versions happened again with Module.load in the latest branch of frida
- [BUG] GUM_INSTRUMENTATION_ERROR_WRONG_SIGNATURE, GUM_ATTACH_WRONG_SIGNATURE
- Callout we put in CModule is called randomly
- recv wait can deadlock on an application thread
- DbgHelp Symbols not available - 2nd attach - OpenJDK Windows
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 frida-gum.