Comments (5)
I fixed plthook to support LC_DYLD_CHAINED_FIXUPS
on macOS (intel).
I hope it works also on macOS (arm).
from plthook.
Thanks for reporting the issue.
As far as I checked, the load commands are in programs since macOS 12 though they may be in header files since macOS 10.15.
Tests passes on macOS 11 with various compiler/linker flags but not on macOS 12 even with default flags.
from plthook.
Thanks a lot for the fantastic work! I will give it a try in amd64
from plthook.
Reopened because it doesn't work for binary compiled for macOS 12 Monterey (ARM).
make test
fails on macOS 12 Monterey hosted on bitrise M1 stacks.
When test files are compiled for macOS 11 Big Sur by setting MACOSX_DEPLOYMENT_TARGET=11
, make test
passes.
from plthook.
Fixed by 2bc6fa1.
from plthook.
Related Issues (20)
- fp leak HOT 1
- Possible buffer overflow HOT 1
- I try to hook "glDrawElements", but it doesn't work. HOT 2
- [Android] Hook dlopen HOT 1
- Failed to find symbol when using C# runtime. HOT 2
- plthook_elf.c: plthook_open() fails on executables with local hint symbols (__INIT_ARRAY, _end) HOT 1
- None of _start, _end and __INIT_ARRAY__ present in library HOT 6
- How to hook a member function of some class in C++ ? HOT 2
- plthook_replace error: no such function: malloc HOT 2
- A minor typo issue.
- A fatal error about the handle is invalid HOT 6
- ssize_t rv was not decleared HOT 1
- undefined reference to `plthook_open` HOT 1
- Why mprotect not needed for osx? HOT 2
- Hook function inside shared library opened via `dlopen()` with `RTLD_DEEPBIND`? HOT 2
- hook function from vtable
- Could not find memory region containing address HOT 1
- Can I hook the function called by a referenced library? HOT 6
- Not found function "recv" and any functions from Socket API in libc HOT 2
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 plthook.