Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with class-dump-z "Fail to map * into memory"

Tags:

xcode

cydia

theos

I'm using the latest class-dump-z available. Followed this video: https://www.youtube.com/watch?v=HjFeYk_1HH4

iPhone-Pieter:~/dump root# cat class_info 
/*

An exception was thrown while analyzing '/Applications/Calculator.app/' (with sysroot '/'):

DataFile::DataFile(const char*):
    Fail to map "/Applications/Calculator.app/" into memory

*/

Any help is greatly appreciated.

like image 903
Pieter Avatar asked Jan 24 '26 00:01

Pieter


1 Answers

You can class dump only mach binary files. You are pointing to the folder that contains the binary file. The correct code would be

class-dump -H /Applications/Calculator.app/Calculator

The .app is just a container that contains the actual binary file.

like image 192
johnny peter Avatar answered Jan 26 '26 23:01

johnny peter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!