@@ -14,19 +14,39 @@ Disassemble at symbol/vaddr
14
14
ipsw dyld disass <DSC> [flags]
15
15
```
16
16
17
+ ### Examples
18
+
19
+ ``` bash
20
+ # Disassemble all images in dyld_shared_cache
21
+ ❯ ipsw dsc disass DSC
22
+ # Disassemble a few dylibs in dyld_shared_cache (NOTE: multiple -i flags OR comma separated dylibs)
23
+ ❯ ipsw dsc disass DSC --image libsystem_kernel.dylib --image libsystem_platform.dylib,libsystem_pthread.dylib
24
+ # Disassemble a symbol in dyld_shared_cache (NOTE: supply --symbol-image 'libsystem_malloc.dylib' for faster lookup)
25
+ ❯ ipsw dsc disass DSC --symbol _malloc
26
+ # Disassemble a function at a virtual address in dyld_shared_cache
27
+ ❯ ipsw dsc disass DSC --vaddr 0x1b19d6940
28
+ # Disassemble a function at a virtual address in dyld_shared_cache and output as JSON
29
+ ❯ ipsw dsc disass DSC --vaddr 0x1b19d6940 --json
30
+ # Disassemble a function at a virtual address in dyld_shared_cache and demangle symbol names
31
+ ❯ ipsw dsc disass DSC --vaddr 0x1b19d6940 --demangle
32
+ # Disassemble a function at a virtual address in dyld_shared_cache and do NOT markup analysis (Faster)
33
+ ❯ ipsw dsc disass DSC --vaddr 0x1b19d6940 --quiet
34
+ ```
35
+
17
36
### Options
18
37
19
38
```
20
- --cache string Path to .a2s addr to sym cache file (speeds up analysis)
21
- -c, --count uint Number of instructions to disassemble
22
- -d, --demangle Demangle symbol names
23
- -h, --help help for disass
24
- -i, --image string dylib image to search
25
- --input string Input function JSON file
26
- -j, --json Output as JSON
27
- -q, --quiet Do NOT markup analysis (Faster)
28
- -s, --symbol string Function to disassemble
29
- -a, --vaddr uint Virtual address to start disassembling
39
+ --cache string Path to .a2s addr to sym cache file (speeds up analysis)
40
+ -c, --count uint Number of instructions to disassemble
41
+ -d, --demangle Demangle symbol names
42
+ -h, --help help for disass
43
+ -i, --image strings Dylib(s) to disassemble
44
+ --input string Input function JSON file
45
+ -j, --json Output as JSON
46
+ -q, --quiet Do NOT markup analysis (Faster)
47
+ -s, --symbol string Function to disassemble
48
+ --symbol-image string Dylib to search for symbol (speeds up symbol lookup)
49
+ -a, --vaddr uint Virtual address to start disassembling
30
50
```
31
51
32
52
### Options inherited from parent commands
0 commit comments