-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dump
command fails with exception
#35
Comments
use https://github.com/arandomdev/DyldExtractor and let me know if you still have this issue |
Hello, Unfortunately, DyldExtractor does not support macOS dyld cache extraction: arandomdev/DyldExtractor#33 (comment) Thanks |
ah rip. well I'd need to add support for dyld shared cache processing in ktool, bc Keith's doesn't do it in a way where I can pull headers out. |
Thank you! I’ll try building the official tool from the dyld sources, see if that makes a difference. Will update the issue. |
It will not make a difference afaik, official tool doesnt do any repair to the metadata whatsoever |
Is the issue that offsets are not corrected when extracting the frameworks from the cache? |
Potentially, can you send me a binary extracted from it? |
Sure, here is the extracted AppKit: |
So i've done quite a bit of playing, and yeah, I dont think processing this data is going to be easy if even possible. this is an issue with the macos extractor and not my program. I've added a lot of fail-safes with the latest release: so you should be able to load and process the Mach-O metadata, but I'm not sure if ever loading objc metadata from these images is possible without a seperate program to repair the images. |
That’s a shame 😔 I am trying to revive https://github.com/LeoNatan/Apple-Runtime-Headers/ but it seems I still can’t. Thank you for taking a look! |
ktool has behind-the-scenes support for "runtime dumping" headers. (aka dlopening them and doing it that way). if I can get it working in the cli tool soon (headache bc of objc/c FFI) i'll let you know. would at least solve the macos one. |
Thank you! |
I too am looking forward to this! |
Hello,
When attempting to dump headers from system frameworks, extracted by keith/dyld-shared-cache-extractor, the following exception is thrown:
It behaves the same whether I extract the arm64 or x64 cache.
Thanks
The text was updated successfully, but these errors were encountered: