项目作者: suhas-pai

项目描述 :
Command-line tool and mini-framework to analyze Apple mach-o and dyld_shared_cache files
高级语言: C++
项目地址: git://github.com/suhas-pai/ktool.git
创建时间: 2020-07-10T02:11:28Z
项目社区:https://github.com/suhas-pai/ktool

开源协议:

下载


ktool

Command-line tool and mini-framework to analyze Apple mach-o and dyld_shared_cache files

NOTE: Development paused on master branch, continuing on rewrite branch

Usage Menu

  1. Usage: ktool [Operation] [Operation-Options] [Path] [Path-Options]
  2. Options:
  3. --help, Print this Menu
  4. --usage, Print this Menu
  5. Operations:
  6. -h, --header, Print header of a Mach-O File
  7. Supports: Mach-O Files FAT Mach-O Files Apple dyld_shared_cache Files Apple dyld_shared_cache Mach-O Images
  8. Options:
  9. -v, --verbose, Print more Verbose Information
  10. -l, --lc, Print Load-commands of a Thin Mach-O File
  11. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  12. Options:
  13. -v, --verbose, Print more Verbose Information
  14. -L, --libraries, Print imported Shared-Libraries of a Thin Mach-O File
  15. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  16. Options:
  17. --sort-by-current-version, Sort by Current-Version
  18. --sort-by-compat-version, Sort by Compat-Version
  19. --sort-by-index, Sort by LC Index
  20. --sort-by-name, Sort by Name
  21. --sort-by-timestamp, Sort by TimeStamp
  22. --verbose, Print more Verbose Information
  23. -Id, --Identity, Print Identification of a Thin Mach-O File
  24. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  25. Options:
  26. -v, --verbose, Print more Verbose Information
  27. --list-archs, List Archs of a FAT Mach-O File
  28. Supports: FAT Mach-O Files
  29. Options:
  30. -v, --verbose, Print more Verbose Information
  31. --list-export-trie, List Export-Trie of a Thin Mach-O File
  32. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  33. Options:
  34. --only-count, Only print the count of exports, or with --tree, print the number of nodes
  35. --require-kind, Only print exports with a specific kind
  36. --require-segment, Only print exports with a specific segment
  37. --require-section, Only print exports with a specific segment & section
  38. --sort, Sort every node alphabetically
  39. -v, --verbose, Print more Verbose Information
  40. --list-objc-classes, List Objc-Classes of a Thin Mach-O File
  41. Supports: Mach-O Files
  42. Options:
  43. --include-categories, Include Objective-C Class Categories
  44. --sort-by-dylib-ordinal, Sort Objective-C Classes by Dylib-Ordinal
  45. --sort-by-kind, Sort Objective-C Classes by Kind
  46. --sort-by-name, Sort Objective-C Classes by Name
  47. --tree, Print Objective-C Classes in a tree
  48. -v, --verbose, Print more Verbose Information
  49. --list-bind-actions, List Bind-Actions of a Thin Mach-O File
  50. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  51. Options:
  52. --only-normal, Only Print Normal-Bind Action-List
  53. --only-lazy, Only Print Lazy-Bind Action-List
  54. --only-weak, Only Print Weak-Bind Action-List
  55. --sort-by-dylib-ordinal, Sort Bind-Actions by Dylib-Ordinal
  56. --sort-by-name, Sort Bind-Actions by Symbol-Name
  57. --sort-by-type, Sort Bind-Actions by Type
  58. -v, --verbose, Print more Verbose Information
  59. --list-bind-opcodes, List Bind-Opcodes of a Thin Mach-O File
  60. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  61. Options:
  62. --only-normal, Only Print Normal-Bind Opcode-List
  63. --only-lazy, Only Print Lazy-Bind Opcode-List
  64. --only-weak, Only Print Weak-Bind Opcode-List
  65. -v, --verbose, Print more Verbose Information
  66. --list-bind-symbols, List Bind-Symbols of a Thin Mach-O File
  67. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  68. Options:
  69. --only-normal, Only Print Normal-Bind Action-List
  70. --only-lazy, Only Print Lazy-Bind Action-List
  71. --only-weak, Only Print Weak-Bind Action-List
  72. --sort-by-dylib-ordinal, Sort Bind-Actions by Dylib-Ordinal
  73. --sort-by-name, Sort Bind-Actions by Symbol-Name
  74. --sort-by-type, Sort Bind-Actions by Type
  75. -v, --verbose, Print more Verbose Information
  76. --list-rebase-actions, List Rebase-Actions of a Thin Mach-O File
  77. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  78. Options:
  79. --sort, Sort Rebase-Actions
  80. -v, --verbose, Print more Verbose Information
  81. --list-rebase-opcodes, List Rebase-Opcodes of a Thin Mach-O File
  82. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  83. Options:
  84. -v, --verbose, Print more Verbose Information
  85. --list-c-string-section, List C-Strings of a C-String Section of a Thin Mach-O File
  86. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  87. Options:
  88. --sort, Sort C-String List
  89. -v, --verbose, Print more Verbose Information
  90. --list-symbol-ptr-section, List Symbols of a Symbol-Ptr Section of a Thin Mach-O File
  91. Supports: Mach-O Files Apple dyld_shared_cache Mach-O Images
  92. Options:
  93. --sort-by-dylib-ordinal, Sort C-String List by Dylib-Ordinal
  94. --sort-by-index, Sort C-String List by Index
  95. --sort-by-symbol, Sort C-String List by Symbol-Name
  96. -v, --verbose, Print more Verbose Information
  97. --list-dsc-images, List Images of a Dyld Shared-Cache File
  98. Supports: Apple dyld_shared_cache Files
  99. Options:
  100. --count, Only print image-count
  101. --sort-by-address, Sort Image List by Image-Address
  102. --sort-by-inode, Sort Image List by Inode
  103. --sort-by-modtime, Sort Image List by Modification-Time
  104. --sort-by-name, Sort Image List by Name
  105. -v, --verbose, Print more Verbose Information
  106. Path-Options:
  107. --arch <ordinal>, Select arch of a FAT Mach-O File
  108. --image <path-or-ordinal>, Select image of an Apple dyld_shared_cache file