edb_compare_memory
Compare two memory regions byte by byte to detect differences. Identify self-modifying code, verify binary patches, or analyze code changes.
Instructions
Compare two memory regions byte-by-byte and show differences. Useful for detecting self-modifying code, comparing loaded vs original code, or analyzing binary patches.
Args: params (CompareMemoryInput): Comparison parameters - address1 (str): First address (e.g., '0x400000') - address2 (str): Second address (e.g., '0x400100') - count (int): Number of bytes to compare (max: 4096)
Returns: str: Differing regions with hex values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |