# block-lldb-script **Repository Path**: mirrors_ddeville/block-lldb-script ## Basic Information - **Project Name**: block-lldb-script - **Description**: A Python script for lldb that prints an Objective-C block signature and disassemble its invoke function - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-12 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### A Python script to disassemble an Objective-C block in lldb ================= A Python script for `lldb` that prints an Objective-C block signature and disassemble its invoke function. In order to use the script in an embedded python interpreter using lldb you can import it by running the command ``` command script import /path/to/block.py` ``` Alternatively, you can add `command script import /path/to/block.py` to your `~/.lldbinit`. Usage: block_disass variable The following options are available: -d, --disass Disassembles the invoke function of the block. If no option is specified, --disass is assumed. -n, --number-instructions The number of instructions in the invoke function to disassemble. -s, --signature Prints the block signature, formatted with NSMethodSignature. Note that --number-instructions is only taken into account when used with --disass.