xpcmdshell / bn-chained-fixups Goto Github PK
View Code? Open in Web Editor NEWThis plugin will apply the rebasing and binding information present in LC_DYLD_CHAINED_FIXUPS for ARM Mach-O files.
This plugin will apply the rebasing and binding information present in LC_DYLD_CHAINED_FIXUPS for ARM Mach-O files.
Problematic line: https://github.com/xpcmdshell/bn-chained-fixups/blob/main/fixups.py#L211
As seen here: https://github.com/xybp888/iOS-SDKs/blob/master/iPhoneOS13.0.sdk/usr/include/mach-o/fixup-chains.h#L106
This chain format adds an extra bit at the end, which throws off how you're grabbing nxt
and causes the chain to by pure chance break
far before it should.
You can read imports_format
from your fixup_hdr
variable and determine the proper way to grab stuff from that; I can PR a fix if you want but I don't want to messy up your codebase too much.
worth noting I might be misunderstanding the exact issue here
I noticed the other day that there are what appear to be pointer chains in __auth_ptr
, __mod_init_func
,
and __mod_term_func
that don't seem to be getting resolved. However, I don't see chain start data that would lead DYLD to those pointers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.