Nop

Fill a run of bytes with 0x90 (NOP). Automatically handles page protection.

Syntax

Susano.Memory.Nop(address, count) -> boolean

Parameters

address (integer): Target address.

count (integer): Number of NOP bytes to write (1 to 4096).

Return(s)

boolean: true on success, false on failure.

Example(s)

-- Kill a 6-byte conditional jump
Susano.Memory.Nop(jumpAddr, 6)