Radare.REgg – libr Reference Manual
Packages
libr
Radare
REgg
REgg
alloc
append
assemble
compile
encode
get_assembly
get_bin
get_source
include
label
load
option_get
option_set
padding
raw
reset
run
setup
shellcode
to_string
arch
bits
endian
os
REgg
Object Hierarchy:
Description:
[
Compact
]
[
CCode
( cname =
"REgg"
, cprefix =
"r_egg_"
, free_function =
"r_egg_free"
) ]
public
class
REgg
Namespace:
Radare
Package:
libr
Content:
Creation methods:
public
REgg
()
Methods:
public
void
alloc
(
int
n)
public
void
append
(
string
src)
public
bool
assemble
()
public
bool
compile
()
public
bool
encode
(
string
name)
public
string
get_assembly
()
public
RBuffer
get_bin
()
public
string
get_source
()
public
void
include
(
string
file,
int
fmt)
public
void
label
(
string
name)
public
void
load
(
string
code,
int
fmt)
public
string
option_get
(
string
k)
public
void
option_set
(
string
k,
string
v)
public
bool
padding
(
string
pad)
public
bool
raw
(
uint8
* buf,
int
len)
public
void
reset
()
public
int
run
()
public
bool
setup
(
string
arch,
int
bits,
bool
bigendian,
string
os)
public
bool
shellcode
(
string
name)
public
string
to_string
()
Fields:
public
int
arch
public
int
bits
public
int
endian
public
uint32
os