- Preparing search index...
- The search index is not available
r2papi
Constructors
constructor
- new R2Papi(r2): R2Papi
-
instance
Methods
analyzeFunctionsFromCalls
- analyzeFunctionsFromCalls(): R2Papi
-
analyzeFunctionsWithEsil
- analyzeFunctionsWithEsil(depth?): void
-
Returns void
analyzeFunctionsWithPreludes
- analyzeFunctionsWithPreludes(): R2Papi
-
analyzeObjCReferences
- analyzeObjCReferences(): R2Papi
-
analyzeProgram
- analyzeProgram(depth?): R2Papi
-
analyzeProgramWithEsil
- analyzeProgramWithEsil(depth?): void
-
Returns void
arch
- arch(): string
-
Returns string
ascii
- ascii(msg): void
-
Returns void
bits
- bits(): string
-
Returns string
call
- call(s): string
-
Returns string
callj
- callj(s): any
-
Returns any
clippy
- clippy(msg): void
-
Returns void
cmd
- cmd(s): string
-
Returns string
countFlags
- countFlags(): number
-
Returns number
countFunctions
- countFunctions(): number
-
Returns number
currentFile
- currentFile(name): string
-
Returns string
currentThreadId
- currentThreadId(): number
-
Returns number
enumerateBinaries
- enumerateBinaries(): any
-
Returns any
enumerateClasses
- enumerateClasses(): any
-
Returns any
enumerateEntrypoints
- enumerateEntrypoints(): any
-
Returns any
enumerateExports
- enumerateExports(): any
-
Returns any
enumerateFiles
- enumerateFiles(): any
-
Returns any
enumerateImports
- enumerateImports(): any
-
Returns any
enumerateLibraries
- enumerateLibraries(): string[]
-
Returns string[]
enumerateMaps
- enumerateMaps(): any
-
Returns any
enumeratePlugins
- enumeratePlugins(type): any
-
Returns any
enumerateRelocations
- enumerateRelocations(): any
-
Returns any
enumerateSections
- enumerateSections(): any
-
Returns any
enumerateSegments
- enumerateSegments(): any
-
Returns any
enumerateSymbols
- enumerateSymbols(): any
-
Returns any
enumerateXrefsTo
- enumerateXrefsTo(s): string[]
-
Returns string[]
findXrefsTo
- findXrefsTo(s, use_esil): void
-
Parameters
-
s: string
-
use_esil: boolean
Returns void
getArch
- getArch(): string
-
Returns string
getBits
- getBits(): string
-
Returns string
getBlockSize
- getBlockSize(): number
-
Returns number
getConfig
- getConfig(key): string | Error
-
Returns string | Error
getCpu
- getCpu(): string
-
Returns string
getRegisterStateForEsil
- getRegisterStateForEsil(): string
-
Returns string
getRegisters
- getRegisters(): any
-
Returns any
hex
- hex(s): string
-
Returns string
id
- id(): number
-
Returns number
insertNullBytes
- insertNullBytes(newSize, at?): R2Papi
-
jsonToTypescript
- jsonToTypescript(name, a): string
-
Returns string
log
- log(s): string
-
Returns string
math
- math(expr): number
-
Returns number
newMap
- newMap(fd, vaddr, size, paddr, perm, name?): void
-
Parameters
-
fd: number
-
-
size: number
-
-
-
name: string = ""
Returns void
openFile
- openFile(name): number | Error
-
Returns number | Error
openFileNomap
- openFileNomap(name): number | Error
-
Returns number | Error
platform
- platform(): string
-
Returns string
printAt
- printAt(msg, x, y): void
-
Parameters
-
msg: string
-
x: number
-
y: number
Returns void
removeBytes
- removeBytes(newSize, at?): R2Papi
-
selectBinary
- selectBinary(id): void
-
Returns void
setArch
- setArch(arch, bits): void
-
Parameters
-
arch: string
-
bits: undefined | number
Returns void
setFlagSpace
- setFlagSpace(name): void
-
Returns void
setRegisters
- setRegisters(obj): void
-
Returns void
skip
- skip(): void
-
Returns void
stepUntil
- stepUntil(dst): void
-
Returns void
toJSON
- toJSON(): string
-
Returns string
toString
- toString(): string
-
Returns string
version
- version(): string
-
Returns string
High level abstraction on top of the r2 command interface provided by r2pipe.