B2R2


ROPHandle Module

Functions and values

Function or value Description

addOffset regMap off

Full Usage: addOffset regMap off

Parameters:
    regMap : Map<'a, ^b>
    off : ^c

Returns: Map<'a, ^d>
regMap : Map<'a, ^b>
off : ^c
Returns: Map<'a, ^d>

execShell hdl

Full Usage: execShell hdl

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
Returns: ROPValue[] option

findShellCode hdl

Full Usage: findShellCode hdl

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
Returns: ROPValue[] option

funCall hdl func args

Full Usage: funCall hdl func args

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
func : ROPExpr
args : ROPExpr array
Returns: ROPValue[] option

getFileInfo hdl

Full Usage: getFileInfo hdl

Parameters:
Returns: FileInfo
hdl : ROPHandle
Returns: FileInfo

getKeys map

Full Usage: getKeys map

Parameters:
    map : Map<'a, 'b>

Returns: Set<'a>
map : Map<'a, 'b>
Returns: Set<'a>

indirectStackPivot hdl setterMap esp

Full Usage: indirectStackPivot hdl setterMap esp

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
setterMap : Map<Set<string>, (Gadget * (int * Map<string, int>)) list>
esp : ROPExpr
Returns: ROPValue[] option

init binHdl binBase

Full Usage: init binHdl binBase

Parameters:
Returns: ROPHandle
binHdl : BinHandle
binBase : Addr
Returns: ROPHandle

mergeMap m1 m2

Full Usage: mergeMap m1 m2

Parameters:
    m1 : Map<'a, 'b>
    m2 : Map<'a, 'b>

Returns: Map<'a, 'b>
m1 : Map<'a, 'b>
m2 : Map<'a, 'b>
Returns: Map<'a, 'b>

stackPivot hdl esp

Full Usage: stackPivot hdl esp

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
esp : ROPExpr
Returns: ROPValue[] option

sysExecve hdl fname args env

Full Usage: sysExecve hdl fname args env

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
fname : ROPExpr
args : ROPExpr
env : ROPExpr
Returns: ROPValue[] option

sysOpen hdl fname opt

Full Usage: sysOpen hdl fname opt

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
fname : ROPExpr
opt : ROPExpr
Returns: ROPValue[] option

sysRead hdl fd buf size

Full Usage: sysRead hdl fd buf size

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
fd : ROPExpr
buf : ROPExpr
size : ROPExpr
Returns: ROPValue[] option

sysWrite hdl fd buf size

Full Usage: sysWrite hdl fd buf size

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
fd : ROPExpr
buf : ROPExpr
size : ROPExpr
Returns: ROPValue[] option

tryFindPlt hdl name

Full Usage: tryFindPlt hdl name

Parameters:
Returns: LinkageTableEntry option
hdl : ROPHandle
name : string
Returns: LinkageTableEntry option

write32s hdl addr values

Full Usage: write32s hdl addr values

Parameters:
Returns: ROPValue[] option
hdl : ROPHandle
addr : ROPExpr
values : ROPExpr[]
Returns: ROPValue[] option