3

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.

Jon Lin
  • 142,182
  • 29
  • 220
  • 220
Pieter
  • 1,751
  • 3
  • 30
  • 65

1 Answers1

3

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.

johnny peter
  • 4,634
  • 1
  • 26
  • 38