Skip to content

Rop

parser = argparse.ArgumentParser(description="Dump ROP gadgets with Jon Salwan's ROPgadget tool.", epilog="Example: rop --grep 'pop rdi' -- --nojop") module-attribute

RawMemoryBinary

Bases: object

__fileName = options.binary instance-attribute

__rawBinary = fp.read() instance-attribute

cs = get_disassembler(pwndbg.aglib.regs.pc) instance-attribute

start_addr = start_addr instance-attribute

__init__(options, start_addr)

getArch()

getArchMode()

getBinary()

getDataSections()

getEndian()

getEntryPoint()

getExecSections()

getFileName()

getFormat()

getRawBinary()

iterate_over_pages(mem_limit)

parse_size(size_str)

rop(grep, memlimit, argument)

split_range_to_chunks(range_start, range_end, chunk_size=10 * 1024 * 1024)