The Witchcraft Compiler Collection
http://github.com/endrazine/wcc/
Contents
|
1 |
||||
|
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
1 |
|||
|
|
3 |
|||
|
. . . . . |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
3 |
||
5 |
|||||
|
breakpoint_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|||
|
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
||
|
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
||
|
|
|
backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|
|
|
|
ptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|
|
|
|
weight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|
|
ctx_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
|||
|
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
||
|
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
||
|
|
|
abfd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
|
|
|
|
archsz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
|
|
|
|
base_address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
binname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
corefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
fdout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
has_relativerelocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
mphdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
mphnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
mshdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
mshnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
opt_arch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
opt_asmdebug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
opt_binname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
|
|
|
opt_core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
8 |
|
|
|
|
opt_debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
8 |
iv |
|
|
|
CONTENTS |
|
|
opt_entrypoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_interp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_original . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_poison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_reloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_shared . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_sstrip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_static . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 8 |
|
|
|
opt_strip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
opt_verbose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
phnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
shnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
start_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
start_shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
strndx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
strndx_index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
|
|
strndx_len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|
elfdata_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 9 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
||
|
|
base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
dyn_index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
dyns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
ehdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
et_dyn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
link_map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
p_pltgot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 10 |
|
|
|
r_debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|
eps_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
||
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
|
gimport_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 11 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
v |
|
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
||
|
|
r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
|
|
rtype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
|
|
sec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
|
|
sindex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
|
|
sname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
help_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
||
|
|
descr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
proto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
protoprefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
retval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
learn_key_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
||
|
|
targ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
tfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
|
|
tlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
|
|
ttype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
|
|
tvalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
learn_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
||
|
|
hh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
|
|
key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
|
|
toffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|
linenoiseCompletions Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
14 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
||
|
|
cvec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
|
|
len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
lua_Debug Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
||
|
|
currentline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
|
|
event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
|
|
i_ci . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
The Witchcraft Compiler Collection
vi |
|
|
|
CONTENTS |
|
|
istailcall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
isvararg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
lastlinedefined . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
linedefined . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
namewhat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
nparams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
nups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
short_src . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 16 |
|
|
|
source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
|
|
3.10.2.14 what . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
luaL_Buffer Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
||
|
|
b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
|
|
initb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
|
|
L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
|
|
n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 17 |
|
|
|
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
|
luaL_Reg Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
||
|
|
func . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
|
luaL_Stream Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 18 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
||
|
|
closef . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
|
|
f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
msec_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
||
|
|
data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
|
|
flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
|
|
len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 19 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 20 |
|
|
|
outoffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 20 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 20 |
|
|
|
s_bfd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 20 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
vii |
|
|
|
s_elf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
|
mseg_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
||
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
|
|
|
p_align . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_filesz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_memsz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_paddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
p_vaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
|
|
3.15.2.10 prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|
preload_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
||
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|
range_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
||
|
|
max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|
|
|
min . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
22 |
|
script_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
||
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
section Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
||
|
|
end . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
|
|
|
hperms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
|
|
|
init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
|
|
|
num . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
The Witchcraft Compiler Collection
viii |
|
|
|
CONTENTS |
|
|
perms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 24 |
|
|
|
proba . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 24 |
|
|
|
probableval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 24 |
|
|
|
3.19.2.10 size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 24 |
|
sections_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
||
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
libname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
perms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 25 |
|
|
|
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
segments_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
||
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
|
|
flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
|
|
libname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
|
|
perms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 26 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|
|
|
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|
|
|
type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|
signame_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
||
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|
|
|
signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|
symaddr Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 27 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
||
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
|
symbols_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 28 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
ix |
|
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
28 |
|
|
|
hbind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
htype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
libname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
prev . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
|
|
value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|
tuple_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
||
|
|
addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
|
|
|
name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
|
wsh_t Struct Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
30 |
|||
|
Detailed Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
||
|
Field Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
||
|
|
bp_array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
bp_num . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
bp_points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
btcaller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
eps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
errcontext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
31 |
|
|
|
faultaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
firstcontext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
firsterrno . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
firstsicode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
firstsignal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
globalsignals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
interrupted . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
is_stdinscript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
learnfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
learnlog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
longjmp_ptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
32 |
|
|
|
longjmp_ptr_high . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
|
|
|
longjmp_ptr_high_cnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
|
|
|
mainhandle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
|
|
|
opt_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
|
|
|
opt_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
The Witchcraft Compiler Collection
x |
|
CONTENTS |
3.26.2.24 opt_hollywood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.25 opt_rescan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.26 opt_verbose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.27 opt_verbosetrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.28 phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.29 pltgot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.30 pltsz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 33 |
|
3.26.2.31 preload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.32 reason . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.33 script_argnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.34 script_args . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.35 scriptfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.36 scriptname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.37 scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.38 shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.39 sigbus_count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.40 sigbus_hash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.41 singlebranch_count . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.42 singlebranch_hash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 34 |
|
3.26.2.43 singlestep_count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.44 singlestep_hash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.45 symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.46 totsignals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.47 trace_rtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.48 trace_singlebranch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.49 trace_singlestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.50 trace_strace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
3.26.2.51 trace_unaligned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 35 |
|
|
37 |
|
4.1 wcc/wcc.c File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 37 |
|
4.1.1 Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 40 |
|
4.1.1.1 __USE_GNU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 40 |
|
4.1.1.2 _GNU_SOURCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 40 |
|
CS_MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
|
4.1.1.4 DEFAULT_STRNDX_SIZE . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
|
Elf_Addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
|
Elf_Ehdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
|
Elf_Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
|
Elf_Phdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 41 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xi |
|
ELF_R_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
ELF_R_SYM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
ELF_R_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
Elf_Rel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
Elf_Rela . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
Elf_Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
41 |
|
|
Elf_Shdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
ELF_ST_BIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
ELF_ST_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
Elf_Sword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
Elf_Sym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
Elf_Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
Elf_Xword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
ELFCLASS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
ELFMACHINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
elis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
EXTRA_CREATED_SECTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
FLAG_BSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
42 |
|
|
FLAG_NOBIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
FLAG_NOWRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
FLAG_TEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
ifis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
MAXPADLEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
nullstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
RELOC_MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
RELOC_X86_32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
RELOC_X86_64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
||
|
ctx_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
gimport_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
msec_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
|
mseg_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
43 |
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
||
|
add_extra_symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
add_symaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
adjust_baseaddress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
alignfromname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
alloc_phdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
analyze_text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
|
|
append_reloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
44 |
The Witchcraft Compiler Collection
xii |
|
CONTENTS |
append_strtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 44 |
|
append_sym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 44 |
|
check_global_import . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
copy_body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
craft_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
create_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
ctx_getopt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
ctx_init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
desired_arch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
entszfromname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
fixup_strtab_and_symtab . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
fixup_symtab_section_index . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 45 |
|
fixup_text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
flags_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
hexdump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
info_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
internal_function_store . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
libify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 46 |
|
link_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
load_binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
main . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
merge_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
mk_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
open_best . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 47 |
|
open_target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
patch_symbol_index . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
pflag_from_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
phdr_cmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
phdr_cmp_premerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
print_bfd_sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
print_maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
print_msec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
print_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
protect_perms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 48 |
|
ptype_from_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 49 |
|
rd_sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 49 |
|
rd_symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 49 |
|
rd_symtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 49 |
|
reloc_htype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 49 |
The Witchcraft Compiler Collection
CONTENTS |
|
xiii |
reloc_htype_x86_32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
|
reloc_htype_x86_64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
|
rm_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
|
save_dynstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
|
save_dynsym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
49 |
|
save_global_import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
save_reloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
sec_name_from_index_after_strip . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
secindex_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
secindex_from_name_after_strip . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
section_from_addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
section_from_index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
section_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
sort_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
sort_phdrs_premerge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
50 |
|
strip_binary_reloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
typefromname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
4.1.4 Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
allowed_sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
blnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
datavma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
deltastrtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
gimports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
gimportslen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
51 |
|
globalreloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalreloclen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalrelocoffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalstrtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalstrtablen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalstrtableoffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalsymindex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalsymtab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalsymtablen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
globalsymtableoffset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
maxdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
maxnewsec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
52 |
|
maxoldsec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
|
maxtext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
|
mindata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
53 |
The Witchcraft Compiler Collection
xiv |
|
|
|
CONTENTS |
|
|
mintext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|
|
|
orig_sz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|
|
|
orig_text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|
|
|
symaddrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|
|
|
textvma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|
wld/wld.c File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 53 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
||
|
|
DEFAULT_NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
|
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
||
|
|
main . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
|
|
|
mk_lib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
|
|
|
print_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
|
wsh/helper.c File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 54 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
||
|
|
_FILE_OFFSET_BITS . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
|
_XOPEN_SOURCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
|
HAS_ZFIRST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
||
|
|
is_mapped . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
|
read_maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
||
|
|
lastsignal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
|
nsections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 55 |
|
|
|
zfirst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
wsh/include/colors.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
||
|
|
BLACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
BLUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
BROWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
CYAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
DARKGRAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
GRAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 56 |
|
|
|
GREEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|
|
|
MAGENTA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|
|
|
NORMAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|
|
|
RED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|
|
|
YELLOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|
wsh/include/lauxlib.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 57 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 59 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xv |
|
LUA_ERRFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
LUA_FILEHANDLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
LUA_NOREF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
LUA_REFNIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
lua_writeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
lua_writestring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
lua_writestringerror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
luaL_addchar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
luaL_addsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
59 |
|
|
luaL_argcheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_checkstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_checkversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_dofile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_dostring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_getmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_loadbuffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_loadfile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_newlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_newlibtable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
LUAL_NUMSIZES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_opt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
60 |
|
|
luaL_optstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_prepbuffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_typename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
||
|
luaL_Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_Reg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
||
|
luaL_addlstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_addstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_addvalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_argerror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_buffinit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_buffinitsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_callmeta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_checkany . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_checkinteger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_checklstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
|
|
luaL_checknumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
61 |
The Witchcraft Compiler Collection
xvi |
|
|
|
CONTENTS |
|
|
luaL_checkoption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 61 |
|
|
|
luaL_checkstack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 61 |
|
|
|
luaL_checktype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 61 |
|
|
|
luaL_checkudata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 61 |
|
|
|
luaL_checkversion_ . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 61 |
|
|
|
luaL_error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_execresult . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_fileresult . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_getmetafield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_getsubtable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_gsub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_loadbufferx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_loadfilex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_loadstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_newmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_newstate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_optinteger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_optlstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_optnumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_prepbuffsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_pushresult . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_pushresultsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_ref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_requiref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_setfuncs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_setmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_testudata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_tolstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_traceback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_unref . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
|
|
luaL_where . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 62 |
|
wsh/include/libwitch/helper.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
|||
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
||
|
|
is_mapped . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
|
|
|
read_maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
|
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
||
|
|
nsections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
|
|
|
zfirst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
|
wsh/include/libwitch/mylaux.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 63 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xvii |
|
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
||
|
|
luaL_argcheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_checkstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_dofile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_dostring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_getmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_loadbuffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_newlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_newlibtable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_opt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_optstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
|
|
luaL_typename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
64 |
|
wsh/include/libwitch/sigs.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
|||
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
||
|
|
signame_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
|
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
||
|
|
signames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
65 |
|
wsh/include/libwitch/wsh.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
66 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
||
|
|
_GNU_SOURCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
BIND_FLAGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DEFAULT_LEARN_FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
default_poison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DEFAULT_SCRIPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DEFAULT_SCRIPT_INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DMGL_ANSI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DMGL_ARM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
DMGL_PARAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
ELF32_ST_BIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
ELF32_ST_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
ELF32_ST_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
|
|
|
ELF64_ST_BIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
ELF64_ST_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
ELF64_ST_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
Elf_Dyn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
Elf_Ehdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
Elf_Phdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
Elf_Shdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
Elf_Sym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
|
|
|
FAULT_EXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
The Witchcraft Compiler Collection
xviii |
|
CONTENTS |
FAULT_READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 71 |
|
FAULT_WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 71 |
|
HPERMSMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 71 |
|
LINES_MAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
luaL_reg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
MAX_SIGNALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
MIN_BIN_SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
MY_CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
PROC_ASLR_PATH . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
read_arg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
read_arg1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 72 |
|
read_arg2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 73 |
|
read_arg3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 73 |
|
read_arg4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
SHELL_HISTORY_NAME . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
SKIP_BOTTOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
SKIP_INIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
STB_GLOBAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
STB_GNU_SECONDARY . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
STB_GNU_UNIQUE . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
STB_LOCAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 74 |
|
STB_WEAK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_COMMON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_FUNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_NOTYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_OBJECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_SECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
STT_TLS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
USE_LUA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
4.9.2 Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
breakpoint_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
eps_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
preload_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 75 |
|
range_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
|
script_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
|
sections_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
|
segments_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
|
symbols_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
|
tuple_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 76 |
The Witchcraft Compiler Collection
CONTENTS |
|
xix |
wsh_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
4.9.3 Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
add_symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
alloccharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
bfmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
breakpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
76 |
|
bsspolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
cplus_demangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
disable_aslr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
disable_core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
do_loadlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
empty_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
empty_shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
enable_aslr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
77 |
|
enable_core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
entrypoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
execlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
gencore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
getcharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
getsize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
grep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
grepptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
78 |
|
hexdump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
79 |
|
hollywood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
79 |
|
info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
79 |
|
libcall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
79 |
|
loadbin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
ltrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
man . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
newarray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
print_functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
print_libs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
print_objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
80 |
|
print_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
81 |
|
print_shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
81 |
|
print_symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
81 |
The Witchcraft Compiler Collection
xx |
|
CONTENTS |
print_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
priv_memcpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
priv_strcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
priv_strcpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
procmap_lua . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
prototypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 81 |
|
ralloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemstrlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemusage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rawmemwrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rdnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 82 |
|
rdstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
reload_elfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
rescan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
rtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
segment_add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
4.9.3.59 set_align_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
4.9.3.60 set_branch_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
4.9.3.61 set_trace_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
setarray . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
setcharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 83 |
|
shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
sicode_strerror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
signaltoname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
singlebranch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
singlestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
systrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
traceunaligned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
unrtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
4.9.3.72 unset_align_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
4.9.3.73 unset_branch_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
4.9.3.74 unset_trace_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
unsinglebranch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 84 |
|
unsinglestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 85 |
|
unsystrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 85 |
|
untraceunaligned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 85 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xxi |
|
|
|
unverbosetrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
verbose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
verbosetrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
wsh_getopt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
wsh_init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
wsh_loadlibs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
wsh_run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
85 |
|
|
|
xalloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
|
xfree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
||
|
|
__progname_full . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
wsh/include/libwitch/wsh_functions.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|||
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
||
|
|
default_options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
|
exposed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
|
global_xalloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
|
lua_blacklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
86 |
|
|
|
lua_default_functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
87 |
|
|
|
ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
87 |
|
wsh/include/linenoise.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
87 |
|||
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
||
|
|
linenoiseCompletionCallback . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseCompletions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
||
|
|
linenoise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseAddCompletion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseClearScreen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseHistoryAdd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseHistoryLoad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseHistorySave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseHistorySetMaxLen . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoisePrintKeyCodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
linenoiseSetCompletionCallback . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
|
|
4.11.2.10 linenoiseSetMultiLine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|
wsh/include/longjmp.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
89 |
||
|
|
CATCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
89 |
|
|
|
ETRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
89 |
|
|
|
FINALLY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
89 |
The Witchcraft Compiler Collection
xxii |
|
CONTENTS |
THROW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 89 |
|
TRY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 89 |
|
4.13 wsh/include/lua.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 89 |
|
4.13.1 Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 93 |
|
LUA_AUTHORS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 93 |
|
lua_call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 93 |
|
LUA_COPYRIGHT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 93 |
|
LUA_ERRERR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 93 |
|
LUA_ERRGCMM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_ERRMEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_ERRRUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_ERRSYNTAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCCOLLECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCCOUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCCOUNTB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCISRUNNING . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCRESTART . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCSETPAUSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCSETSTEPMUL . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCSTEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 94 |
|
LUA_GCSTOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_getextraspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
LUA_HOOKCALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
LUA_HOOKCOUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
LUA_HOOKLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
LUA_HOOKRET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
LUA_HOOKTAILCALL . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_isboolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_isfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_islightuserdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_isnil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 95 |
|
lua_isnone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
lua_isnoneornil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
lua_istable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
lua_isthread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
LUA_MASKCALL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
LUA_MASKCOUNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
LUA_MASKLINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
|
LUA_MASKRET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 96 |
The Witchcraft Compiler Collection
CONTENTS |
xxiii |
4.13.1.37 LUA_MINSTACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
96 |
4.13.1.38 LUA_MULTRET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
96 |
4.13.1.39 lua_newtable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
96 |
4.13.1.40 LUA_NUMTAGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
96 |
4.13.1.41 LUA_OK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.42 LUA_OPADD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.43 LUA_OPBAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.44 LUA_OPBNOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.45 LUA_OPBOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.46 LUA_OPBXOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.47 LUA_OPDIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.48 LUA_OPEQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.49 LUA_OPIDIV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.50 LUA_OPLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.51 LUA_OPLT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.52 LUA_OPMOD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
97 |
4.13.1.53 LUA_OPMUL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.54 LUA_OPPOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.55 LUA_OPSHL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.56 LUA_OPSHR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.57 LUA_OPSUB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.58 LUA_OPUNM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.59 lua_pcall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.60 lua_pop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.61 lua_pushcfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.62 lua_pushglobaltable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.63 lua_pushliteral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.64 lua_register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
98 |
4.13.1.65 LUA_REGISTRYINDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.66 LUA_RELEASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.67 lua_remove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.68 lua_replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.69 LUA_RIDX_GLOBALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.70 LUA_RIDX_LAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.71 LUA_RIDX_MAINTHREAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.72 LUA_SIGNATURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.73 LUA_TBOOLEAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.74 LUA_TFUNCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.75 LUA_TLIGHTUSERDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
4.13.1.76 LUA_TNIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
99 |
The Witchcraft Compiler Collection
xxiv |
|
|
CONTENTS |
|
4.13.1.77 LUA_TNONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.78 LUA_TNUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.79 lua_tointeger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.80 lua_tonumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.81 lua_tostring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.82 LUA_TSTRING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.83 LUA_TTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.84 LUA_TTHREAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.85 LUA_TUSERDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.86 lua_upvalueindex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.87 LUA_VERSION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.88 LUA_VERSION_MAJOR . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 100 |
|
|
4.13.1.89 LUA_VERSION_MINOR . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
4.13.1.90 LUA_VERSION_NUM . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
4.13.1.91 LUA_VERSION_RELEASE . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
4.13.1.92 LUA_YIELD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
4.13.1.93 lua_yield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
||
|
lua_Alloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_CFunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_Hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_Integer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_KContext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_KFunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 101 |
|
|
lua_Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_Reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_Unsigned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
4.13.2.12 lua_Writer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
||
|
lua_absindex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_arith . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_atpanic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_callk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_checkstack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_close . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_concat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
|
|
lua_copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 102 |
The Witchcraft Compiler Collection
CONTENTS |
xxv |
4.13.3.10 lua_createtable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.11 lua_dump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.12 lua_error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.13 lua_gc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.14 lua_getallocf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.15 lua_getfield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
102 |
4.13.3.16 lua_getglobal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.17 lua_gethook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.18 lua_gethookcount . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.19 lua_gethookmask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.20 lua_geti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.21 lua_getinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.22 lua_getlocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.23 lua_getmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.24 lua_getstack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.25 lua_gettable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.26 lua_gettop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.27 lua_getupvalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.28 lua_getuservalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.29 lua_iscfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.30 lua_isinteger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.31 lua_isnumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.32 lua_isstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.33 lua_isuserdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.34 lua_isyieldable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.35 lua_len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.36 lua_load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.37 lua_newstate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.38 lua_newthread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.39 lua_newuserdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.40 lua_next . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.41 lua_pcallk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.42 lua_pushboolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
103 |
4.13.3.43 lua_pushcclosure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.44 lua_pushfstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.45 lua_pushinteger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.46 lua_pushlightuserdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.47 lua_pushlstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.48 lua_pushnil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
4.13.3.49 lua_pushnumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
The Witchcraft Compiler Collection
xxvi |
CONTENTS |
4.13.3.50 lua_pushstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.51 lua_pushthread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.52 lua_pushvalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.53 lua_pushvfstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.54 lua_rawequal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.55 lua_rawget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.56 lua_rawgeti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.57 lua_rawgetp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.58 lua_rawlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.59 lua_rawset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.60 lua_rawseti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.61 lua_rawsetp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.62 lua_resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.63 lua_rotate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.64 lua_setallocf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.65 lua_setfield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.66 lua_setglobal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.67 lua_sethook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.68 lua_seti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.69 lua_setlocal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.70 lua_setmetatable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 104 |
4.13.3.71 lua_settable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.72 lua_settop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.73 lua_setupvalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.74 lua_setuservalue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.75 lua_status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.76 lua_stringtonumber . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.77 lua_toboolean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.78 lua_tocfunction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.79 lua_tointegerx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.80 lua_tolstring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.81 lua_tonumberx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.82 lua_topointer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.83 lua_tothread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.84 lua_touserdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.85 lua_type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.86 lua_typename . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.87 lua_upvalueid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.88 lua_upvaluejoin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
4.13.3.89 lua_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 105 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xxvii |
|
4.13.3.90 lua_xmove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
105 |
|
|
4.13.3.91 lua_yieldk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
105 |
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
105 |
||
|
lua_ident . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
105 |
|
4.14 wsh/include/luaconf.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
105 |
||
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
106 |
||
|
l_floor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
106 |
|
|
l_mathlim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
l_mathop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
l_sprintf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_CDIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_CPATH_DEFAULT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_DIRSEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_EXTRASPACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_FLOAT_DOUBLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_FLOAT_FLOAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_FLOAT_LONGDOUBLE . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
LUA_FLOAT_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
107 |
|
|
lua_getlocaledecpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_IDSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_INT_INT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_INT_LONG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_INT_LONGLONG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_INT_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
lua_integer2str . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_INTEGER_FMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_KCONTEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_LDIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
LUA_NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
lua_number2str . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
108 |
|
|
lua_number2strx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_NUMBER_FMT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_NUMBER_FRMLEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
lua_numbertointeger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_PATH_DEFAULT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_QL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_QS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
LUA_ROOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
|
|
lua_str2number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
109 |
The Witchcraft Compiler Collection
xxviii |
|
|
|
CONTENTS |
|
|
4.14.1.35 lua_strx2number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 109 |
|
|
|
4.14.1.36 LUA_UNSIGNED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.37 LUA_VDIR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.38 LUAI_BITSINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.39 LUAI_DDEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.40 LUAI_DDEF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.41 LUAI_FUNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.42 LUAI_MAXSTACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.43 LUAI_UACINT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.44 LUAI_UACNUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.45 LUAL_BUFFERSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.46 LUALIB_API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
|
|
4.14.1.47 LUAMOD_API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 110 |
|
wsh/include/lualib.h File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
|||
|
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
||
|
|
lua_assert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
|
|
|
LUA_BITLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
|
|
|
LUA_COLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
|
|
|
LUA_DBLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 111 |
|
|
|
LUA_IOLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
LUA_LOADLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
LUA_MATHLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
LUA_OSLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
LUA_STRLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
LUA_TABLIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
4.15.1.11 LUA_UTF8LIBNAME . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
||
|
|
luaL_openlibs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_bit32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_coroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_io . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_math . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
luaopen_table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 112 |
|
|
|
4.15.2.12 luaopen_utf8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 113 |
|
wsh/wsh.c File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 113 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xxix |
Macro Definition Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
116 |
||
|
CS_MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
116 |
|
|
Elf_Addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Ehdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Phdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
ELF_R_INFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
ELF_R_SYM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
ELF_R_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Rel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Rela . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
Elf_Shdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
ELF_ST_BIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
117 |
|
|
ELF_ST_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
Elf_Sword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
Elf_Sym . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
Elf_Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
Elf_Xword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
ELFCLASS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
ELFMACHINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
REG_RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
118 |
|
|
4.16.1.22 RELOC_MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
Typedef Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
||
|
help_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
learn_key_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
learn_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
||
|
_exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
add_binary_preload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
add_script_arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
add_script_exec . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
add_symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
affinity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
alarmhandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
119 |
|
|
alloccharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
|
|
bfmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
|
|
breakpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
|
|
bsspolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
|
|
btr_disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
The Witchcraft Compiler Collection
xxx |
CONTENTS |
4.16.3.13 btr_enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 120 |
4.16.3.14 bushandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 120 |
4.16.3.15 completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 120 |
4.16.3.16 declare_func . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.17 declare_internals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.18 declare_num . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.19 decode_flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.20 decode_type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.21 detailed_help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.22 disable_aslr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.23 disable_core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.24 do_loadlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 121 |
4.16.3.25 empty_eps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.26 empty_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.27 empty_shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.28 empty_symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.29 enable_aslr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.30 enable_core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.31 entry_point_add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.32 entrypoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.33 execlib . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.34 exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 122 |
4.16.3.35 exit_group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.36 fatal_error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.37 gencore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.38 getcharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.39 grep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.40 grepptr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.41 headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.42 help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.43 hexdump . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 123 |
4.16.3.44 hollywood . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.45 info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.46 info_function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.47 inthandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.48 learn_proto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.49 libcall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 124 |
4.16.3.50 loadbin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 125 |
4.16.3.51 loadlibrary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 125 |
4.16.3.52 ltrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 125 |
The Witchcraft Compiler Collection
CONTENTS |
xxxi |
4.16.3.53 lua_strerror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
4.16.3.54 man . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
4.16.3.55 map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
4.16.3.56 mk_backtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
4.16.3.57 parse_dyn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
125 |
4.16.3.58 parse_link_map_dyn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.59 phdr_callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.60 phdr_cmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.61 phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.62 print_backtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.63 print_eps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.64 print_functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.65 print_libs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.66 print_objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4.16.3.67 print_phdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.68 print_procmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.69 print_shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.70 print_symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.71 printarg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.72 priv_memcpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.73 priv_strcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.74 priv_strcpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.75 procmap_lua . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.76 prototypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
127 |
4.16.3.77 ptoh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.78 ralloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.79 rawmemaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.80 rawmemread . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.81 rawmemstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.82 rawmemstrlen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.83 rawmemusage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.84 rawmemwrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
128 |
4.16.3.85 rdnum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.86 rdstr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.87 read_elf_sig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.88 reload_elfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.89 rescan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.90 restore_exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.91 rtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
4.16.3.92 run_script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
129 |
The Witchcraft Compiler Collection
xxxii |
CONTENTS |
4.16.3.93 run_shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 129 |
4.16.3.94 scan_section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.95 scan_sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.96 scan_symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.97 scan_syms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.98 script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.99 section_add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.100section_from_addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.101segment_add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 130 |
4.16.3.102segment_from_addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.103set_align_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.104set_alloc_opt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.105set_branch_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.106set_sighandlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.107set_trace_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.108setcharbuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.109shdr_callback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.110shdr_cmp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.111shdrs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.112sicode_strerror . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 131 |
4.16.3.113sicodetoname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.114sighandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.115signaltoname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.116singlebranch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.117singlestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.118sort_learnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.119symbol_from_addr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.120symbol_from_name . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.121symbol_tobind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.122symbol_totype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 132 |
4.16.3.123systrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.124test_stdin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.125traceback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.126traceunaligned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.127traphandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.128unrtrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.129unset_align_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.130unset_branch_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.131unset_trace_flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
4.16.3.132unsinglebranch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . 133 |
The Witchcraft Compiler Collection
CONTENTS |
|
|
xxxiii |
|
4.16.3.133unsinglestep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.134unsystrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.135untraceunaligned . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.136unverbosetrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.137verbose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.138verbosetrace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.139wsh_getopt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.140wsh_init . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.141wsh_loadlibs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.142wsh_print_version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.143wsh_run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
134 |
|
|
4.16.3.144wsh_usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
|
4.16.3.145xalloc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
|
4.16.3.146xfree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
||
|
cmdhelp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
|
fcnhelp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
|
protorecords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
136 |
|
|
wsh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
136 |
|
4.17 wsh/wshmain.c File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
137 |
||
Function Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
137 |
||
|
main . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
137 |
|
Variable Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
137 |
||
|
wsh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
137 |
138 |
The Witchcraft Compiler Collection
Chapter 1
Data Structure Index
1.1 Data Structures |
|
Here are the data structures with brief descriptions: |
|
breakpoint_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
ctx_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
elfdata_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
eps_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
gimport_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
help_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
learn_key_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
learn_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
linenoiseCompletions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
lua_Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
luaL_Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
luaL_Reg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
luaL_Stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
msec_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
mseg_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
preload_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
range_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
script_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
sections_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
segments_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
signame_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
symaddr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
symbols_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
tuple_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh_t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
2 |
Data Structure Index |
The Witchcraft Compiler Collection
Chapter 2
File Index
2.1 File List |
|
Here is a list of all files with brief descriptions: |
|
wcc/wcc.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wld/wld.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/helper.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/wsh.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/wshmain.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/colors.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/lauxlib.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/linenoise.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/longjmp.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/lua.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/luaconf.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/lualib.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/libwitch/helper.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/libwitch/mylaux.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/libwitch/sigs.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/libwitch/wsh.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
|
wsh/include/libwitch/wsh_functions.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
4 |
File Index |
The Witchcraft Compiler Collection
Chapter 3
Data Structure Documentation
3.1 breakpoint_t Struct Reference
#include <wsh.h>
Data Fields
•char ptr
•char backup
•unsigned int weight
3.1.1Detailed Description
Breakpoint structure
Definition at line 442 of file wsh.h.
3.1.2Field Documentation
3.1.2.1char breakpoint_t::backup
Definition at line 444 of file wsh.h.
3.1.2.2char breakpoint_t::ptr
Definition at line 443 of file wsh.h.
3.1.2.3unsigned int breakpoint_t::weight
Definition at line 445 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.2 ctx_t Struct Reference
6 |
Data Structure Documentation |
Data Fields
•char binname
•unsigned int archsz
•unsigned int shnum
•unsigned int phnum
•char strndx
•unsigned int strndx_len
•unsigned int strndx_index
•unsigned int start_shdrs
•unsigned int start_phdrs
•int fdout
•bfd abfd
•unsigned int corefile
•unsigned int base_address
•unsigned int mshnum
•unsigned int mphnum
•unsigned int has_relativerelocations
•char opt_binname
•char opt_interp
•unsigned int opt_arch
•unsigned int opt_static
•unsigned int opt_reloc
•unsigned int opt_strip
•unsigned int opt_sstrip
•unsigned int opt_exec
•unsigned int opt_core
•unsigned int opt_shared
•unsigned int opt_verbose
•unsigned long int opt_entrypoint
•unsigned char opt_poison
•unsigned int opt_original
•unsigned int opt_debug
•unsigned int opt_asmdebug
•unsigned int opt_flags
3.2.1Detailed Description
Definition at line 264 of file wcc.c.
3.2.2Field Documentation
3.2.2.1bfd ctx_t::abfd
Definition at line 279 of file wcc.c.
3.2.2.2unsigned int ctx_t::archsz
Definition at line 270 of file wcc.c.
The Witchcraft Compiler Collection
3.2 ctx_t Struct Reference |
7 |
3.2.2.3unsigned int ctx_t::base_address
Definition at line 283 of file wcc.c.
3.2.2.4char ctx_t::binname
Internal options
Definition at line 269 of file wcc.c.
3.2.2.5unsigned int ctx_t::corefile
Definition at line 280 of file wcc.c.
3.2.2.6int ctx_t::fdout
Definition at line 278 of file wcc.c.
3.2.2.7unsigned int ctx_t::has_relativerelocations
Definition at line 293 of file wcc.c.
3.2.2.8mseg_t ctx_t::mphdrs
Definition at line 290 of file wcc.c.
3.2.2.9unsigned int ctx_t::mphnum
Definition at line 291 of file wcc.c.
3.2.2.10msec_t ctx_t::mshdrs
Definition at line 286 of file wcc.c.
3.2.2.11unsigned int ctx_t::mshnum
Definition at line 287 of file wcc.c.
3.2.2.12unsigned int ctx_t::opt_arch
Definition at line 299 of file wcc.c.
3.2.2.13unsigned int ctx_t::opt_asmdebug
Definition at line 312 of file wcc.c.
3.2.2.14char ctx_t::opt_binname
User options
Definition at line 297 of file wcc.c.
The Witchcraft Compiler Collection
8 |
Data Structure Documentation |
3.2.2.15unsigned int ctx_t::opt_core
Definition at line 305 of file wcc.c.
3.2.2.16unsigned int ctx_t::opt_debug
Definition at line 311 of file wcc.c.
3.2.2.17unsigned long int ctx_t::opt_entrypoint
Definition at line 308 of file wcc.c.
3.2.2.18unsigned int ctx_t::opt_exec
Definition at line 304 of file wcc.c.
3.2.2.19unsigned int ctx_t::opt_flags
Definition at line 313 of file wcc.c.
3.2.2.20char ctx_t::opt_interp
Definition at line 298 of file wcc.c.
3.2.2.21unsigned int ctx_t::opt_original
Definition at line 310 of file wcc.c.
3.2.2.22unsigned char ctx_t::opt_poison
Definition at line 309 of file wcc.c.
3.2.2.23unsigned int ctx_t::opt_reloc
Definition at line 301 of file wcc.c.
3.2.2.24unsigned int ctx_t::opt_shared
Definition at line 306 of file wcc.c.
3.2.2.25unsigned int ctx_t::opt_sstrip
Definition at line 303 of file wcc.c.
3.2.2.26unsigned int ctx_t::opt_static
Definition at line 300 of file wcc.c.
The Witchcraft Compiler Collection
3.3 elfdata_t Struct Reference |
9 |
3.2.2.27unsigned int ctx_t::opt_strip
Definition at line 302 of file wcc.c.
3.2.2.28unsigned int ctx_t::opt_verbose
Definition at line 307 of file wcc.c.
3.2.2.29unsigned int ctx_t::phnum
Definition at line 272 of file wcc.c.
3.2.2.30unsigned int ctx_t::shnum
Definition at line 271 of file wcc.c.
3.2.2.31unsigned int ctx_t::start_phdrs
Definition at line 277 of file wcc.c.
3.2.2.32unsigned int ctx_t::start_shdrs
Definition at line 276 of file wcc.c.
3.2.2.33char ctx_t::strndx
Definition at line 273 of file wcc.c.
3.2.2.34unsigned int ctx_t::strndx_index
Definition at line 275 of file wcc.c.
3.2.2.35unsigned int ctx_t::strndx_len
Definition at line 274 of file wcc.c.
The documentation for this struct was generated from the following file:
•wcc/wcc.c
3.3elfdata_t Struct Reference
#include <wsh.h>
Data Fields
•bool et_dyn
The Witchcraft Compiler Collection
10 |
Data Structure Documentation |
•uint32_t dyn_index
•uintptr_t base
•uintptr_t limit
•uintptr_t p_pltgot
•struct r_debug r_debug
•struct link_map link_map
3.3.1Detailed Description
Internal representation of an ELF
Definition at line 417 of file wsh.h.
3.3.2Field Documentation
3.3.2.1uintptr_t elfdata_t::base
Definition at line 423 of file wsh.h.
3.3.2.2uint32_t elfdata_t::dyn_index
Definition at line 422 of file wsh.h.
3.3.2.3Elf_Dyn elfdata_t::dyns
Definition at line 419 of file wsh.h.
3.3.2.4Elf_Ehdr elfdata_t::ehdr
Definition at line 420 of file wsh.h.
3.3.2.5bool elfdata_t::et_dyn
Definition at line 418 of file wsh.h.
3.3.2.6uintptr_t elfdata_t::limit
Definition at line 423 of file wsh.h.
3.3.2.7struct link_map elfdata_t::link_map
Definition at line 426 of file wsh.h.
3.3.2.8uintptr_t elfdata_t::p_pltgot
Definition at line 424 of file wsh.h.
3.3.2.9Elf_Phdr elfdata_t::phdrs
Definition at line 421 of file wsh.h.
The Witchcraft Compiler Collection
3.4 eps_t Struct Reference |
11 |
3.3.2.10struct r_debug elfdata_t::r_debug
Definition at line 425 of file wsh.h.
The documentation for this struct was generated from the following file:
•wsh/include/libwitch/wsh.h
3.4eps_t Struct Reference
#include <wsh.h>
Data Fields
•unsigned long int addr
•char name
3.4.1Detailed Description
Definition at line 520 of file wsh.h.
3.4.2Field Documentation
3.4.2.1unsigned long int eps_t::addr
Definition at line 521 of file wsh.h.
3.4.2.2char eps_t::name
Definition at line 522 of file wsh.h.
3.4.2.3struct eps_t eps_t::next
Definition at line 525 of file wsh.h.
3.4.2.4struct eps_t eps_t::prev
Definition at line 524 of file wsh.h.
The documentation for this struct was generated from the following file:
•wsh/include/libwitch/wsh.h
3.5gimport_t Struct Reference
Data Fields
• char sname
The Witchcraft Compiler Collection
12 |
Data Structure Documentation |
•int rtype
•unsigned int sindex
3.5.1Detailed Description
Definition at line 2770 of file wcc.c.
3.5.2Field Documentation
3.5.2.1Elf_Rela gimport_t::r
Definition at line 2773 of file wcc.c.
3.5.2.2int gimport_t::rtype
Definition at line 2774 of file wcc.c.
3.5.2.3msec_t gimport_t::sec
Definition at line 2772 of file wcc.c.
3.5.2.4unsigned int gimport_t::sindex
Definition at line 2775 of file wcc.c.
3.5.2.5char gimport_t::sname
Definition at line 2771 of file wcc.c.
The documentation for this struct was generated from the following file:
•wcc/wcc.c
3.6help_t Struct Reference
Data Fields
•char name
•char proto
•char descr
•char protoprefix
•char retval
3.6.1Detailed Description
Definition at line 489 of file wsh.c.
The Witchcraft Compiler Collection
3.7 learn_key_t Struct Reference |
13 |
3.6.2Field Documentation
3.6.2.1char help_t::descr
Definition at line 492 of file wsh.c.
3.6.2.2char help_t::name
Definition at line 490 of file wsh.c.
3.6.2.3char help_t::proto
Definition at line 491 of file wsh.c.
3.6.2.4char help_t::protoprefix
Definition at line 493 of file wsh.c.
3.6.2.5char help_t::retval
Definition at line 494 of file wsh.c.
The documentation for this struct was generated from the following file:
•wsh/wsh.c
3.7learn_key_t Struct Reference
Data Fields
•char ttype [10]
•char tlib [200]
•char tfunction [200]
•char targ [20]
•char tvalue [200]
3.7.1Detailed Description
Definition at line 1861 of file wsh.c.
3.7.2Field Documentation
3.7.2.1char learn_key_t::targ[20]
Definition at line 1866 of file wsh.c.
3.7.2.2char learn_key_t::tfunction[200]
Definition at line 1865 of file wsh.c.
The Witchcraft Compiler Collection
14 |
Data Structure Documentation |
3.7.2.3char learn_key_t::tlib[200]
Definition at line 1864 of file wsh.c.
3.7.2.4char learn_key_t::ttype[10]
Definition at line 1863 of file wsh.c.
3.7.2.5char learn_key_t::tvalue[200]
Definition at line 1867 of file wsh.c.
The documentation for this struct was generated from the following file:
•wsh/wsh.c
3.8learn_t Struct Reference
Data Fields
•char toffset [20]
•UT_hash_handle hh
3.8.1Detailed Description
Definition at line 1870 of file wsh.c.
3.8.2Field Documentation
3.8.2.1UT_hash_handle learn_t::hh
Definition at line 1873 of file wsh.c.
3.8.2.2learn_key_t learn_t::key
Definition at line 1871 of file wsh.c.
3.8.2.3char learn_t::toffset[20]
Definition at line 1872 of file wsh.c.
The documentation for this struct was generated from the following file:
•wsh/wsh.c
3.9linenoiseCompletions Struct Reference
#include <linenoise.h>
The Witchcraft Compiler Collection
3.10 lua_Debug Struct Reference |
15 |
Data Fields
•size_t len
•char cvec
3.9.1Detailed Description
Definition at line 46 of file linenoise.h.
3.9.2Field Documentation
3.9.2.1char linenoiseCompletions::cvec
Definition at line 48 of file linenoise.h.
3.9.2.2size_t linenoiseCompletions::len
Definition at line 47 of file linenoise.h.
The documentation for this struct was generated from the following file:
• wsh/include/linenoise.h
3.10 lua_Debug Struct Reference
#include <lua.h>
Data Fields
•int event
•const char name
•const char namewhat
•const char what
•const char source
•int currentline
•int linedefined
•int lastlinedefined
•unsigned char nups
•unsigned char nparams
•char isvararg
•char istailcall
•char short_src [LUA_IDSIZE]
•struct CallInfo i_ci
3.10.1Detailed Description
Definition at line 441 of file lua.h.
The Witchcraft Compiler Collection
16 |
Data Structure Documentation |
3.10.2Field Documentation
3.10.2.1int lua_Debug::currentline
Definition at line 447 of file lua.h.
3.10.2.2int lua_Debug::event
Definition at line 442 of file lua.h.
3.10.2.3struct CallInfo lua_Debug::i_ci
Definition at line 456 of file lua.h.
3.10.2.4char lua_Debug::istailcall
Definition at line 453 of file lua.h.
3.10.2.5char lua_Debug::isvararg
Definition at line 452 of file lua.h.
3.10.2.6int lua_Debug::lastlinedefined
Definition at line 449 of file lua.h.
3.10.2.7int lua_Debug::linedefined
Definition at line 448 of file lua.h.
3.10.2.8const char lua_Debug::name
Definition at line 443 of file lua.h.
3.10.2.9const char lua_Debug::namewhat
Definition at line 444 of file lua.h.
3.10.2.10unsigned char lua_Debug::nparams
Definition at line 451 of file lua.h.
3.10.2.11unsigned char lua_Debug::nups
Definition at line 450 of file lua.h.
3.10.2.12char lua_Debug::short_src[LUA_IDSIZE]
Definition at line 454 of file lua.h.
The Witchcraft Compiler Collection
3.11 luaL_Buffer Struct Reference |
17 |
3.10.2.13const char lua_Debug::source
Definition at line 446 of file lua.h.
3.10.2.14const char lua_Debug::what
Definition at line 445 of file lua.h.
The documentation for this struct was generated from the following file:
• wsh/include/lua.h
3.11 luaL_Buffer Struct Reference
#include <lauxlib.h>
Data Fields
•char b
•size_t size
•size_t n
•char initb [LUAL_BUFFERSIZE]
3.11.1Detailed Description
Definition at line 140 of file lauxlib.h.
3.11.2Field Documentation
3.11.2.1char luaL_Buffer::b
Definition at line 141 of file lauxlib.h.
3.11.2.2char luaL_Buffer::initb[LUAL_BUFFERSIZE]
Definition at line 145 of file lauxlib.h.
3.11.2.3lua_State luaL_Buffer::L
Definition at line 144 of file lauxlib.h.
3.11.2.4size_t luaL_Buffer::n
Definition at line 143 of file lauxlib.h.
The Witchcraft Compiler Collection
18 |
Data Structure Documentation |
3.11.2.5size_t luaL_Buffer::size
Definition at line 142 of file lauxlib.h.
The documentation for this struct was generated from the following file:
• wsh/include/lauxlib.h
3.12 luaL_Reg Struct Reference
#include <lauxlib.h>
Data Fields
•const char name
3.12.1Detailed Description
Definition at line 23 of file lauxlib.h.
3.12.2Field Documentation
3.12.2.1lua_CFunction luaL_Reg::func
Definition at line 25 of file lauxlib.h.
3.12.2.2const char luaL_Reg::name
Definition at line 24 of file lauxlib.h.
The documentation for this struct was generated from the following file:
• wsh/include/lauxlib.h
3.13 luaL_Stream Struct Reference
#include <lauxlib.h>
Data Fields
•FILE f
3.13.1Detailed Description
Definition at line 185 of file lauxlib.h.
The Witchcraft Compiler Collection
3.14 msec_t Struct Reference |
19 |
3.13.2Field Documentation
3.13.2.1lua_CFunction luaL_Stream::closef
Definition at line 187 of file lauxlib.h.
3.13.2.2FILE luaL_Stream::f
Definition at line 186 of file lauxlib.h.
The documentation for this struct was generated from the following file:
• wsh/include/lauxlib.h
3.14 msec_t Struct Reference
Data Fields
•char name
•unsigned long int len
•unsigned char data
•char outoffset
•unsigned int flags
•asection s_bfd
3.14.1Detailed Description
Meta section header
Definition at line 229 of file wcc.c.
3.14.2Field Documentation
3.14.2.1unsigned char msec_t::data
Definition at line 232 of file wcc.c.
3.14.2.2unsigned int msec_t::flags
Definition at line 234 of file wcc.c.
3.14.2.3unsigned long int msec_t::len
Definition at line 231 of file wcc.c.
3.14.2.4char msec_t::name
Definition at line 230 of file wcc.c.
The Witchcraft Compiler Collection
20 |
Data Structure Documentation |
3.14.2.5struct msec_t msec_t::next
Definition at line 240 of file wcc.c.
3.14.2.6char msec_t::outoffset
Definition at line 233 of file wcc.c.
3.14.2.7struct msec_t msec_t::prev
Definition at line 239 of file wcc.c.
3.14.2.8asection msec_t::s_bfd
Definition at line 236 of file wcc.c.
3.14.2.9Elf_Shdr msec_t::s_elf
Definition at line 237 of file wcc.c.
The documentation for this struct was generated from the following file:
• wcc/wcc.c
3.15 mseg_t Struct Reference
Data Fields
3.15.1Detailed Description
Meta segment header
Definition at line 248 of file wcc.c.
3.15.2Field Documentation
3.15.2.1struct msec_t mseg_t::next
Definition at line 259 of file wcc.c.
The Witchcraft Compiler Collection
3.16 preload_t Struct Reference |
21 |
3.15.2.2Elf_Xword mseg_t::p_align
Definition at line 256 of file wcc.c.
3.15.2.3Elf_Xword mseg_t::p_filesz
Definition at line 254 of file wcc.c.
3.15.2.4Elf_Word mseg_t::p_flags
Definition at line 250 of file wcc.c.
3.15.2.5Elf_Xword mseg_t::p_memsz
Definition at line 255 of file wcc.c.
3.15.2.6Elf_Off mseg_t::p_offset
Definition at line 251 of file wcc.c.
3.15.2.7Elf_Addr mseg_t::p_paddr
Definition at line 253 of file wcc.c.
3.15.2.8Elf_Word mseg_t::p_type
Definition at line 249 of file wcc.c.
3.15.2.9Elf_Addr mseg_t::p_vaddr
Definition at line 252 of file wcc.c.
3.15.2.10struct msec_t mseg_t::prev
Definition at line 258 of file wcc.c.
The documentation for this struct was generated from the following file:
• wcc/wcc.c
3.16 preload_t Struct Reference
#include <wsh.h>
Data Fields
•char name
The Witchcraft Compiler Collection
22 |
Data Structure Documentation |
3.16.1Detailed Description
Libraries to be preloaded (before shell/script execution)
Definition at line 453 of file wsh.h.
3.16.2Field Documentation
3.16.2.1char preload_t::name
Definition at line 454 of file wsh.h.
3.16.2.2struct preload_t preload_t::next
Definition at line 457 of file wsh.h.
3.16.2.3struct preload_t preload_t::prev
Definition at line 456 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.17 range_t Struct Reference
#include <wsh.h>
Data Fields
•unsigned long long int min
•unsigned long long int max
3.17.1Detailed Description
Memory ranges
Definition at line 433 of file wsh.h.
3.17.2Field Documentation
3.17.2.1unsigned long long int range_t::max
Definition at line 435 of file wsh.h.
3.17.2.2unsigned long long int range_t::min
Definition at line 434 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
The Witchcraft Compiler Collection
3.18 script_t Struct Reference |
23 |
3.18 script_t Struct Reference
#include <wsh.h>
Data Fields
•char name
3.18.1Detailed Description
Scripts to be executed
Definition at line 464 of file wsh.h.
3.18.2Field Documentation
3.18.2.1char script_t::name
Definition at line 465 of file wsh.h.
3.18.2.2struct preload_t script_t::next
Definition at line 468 of file wsh.h.
3.18.2.3struct preload_t script_t::prev
Definition at line 467 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.19 section Struct Reference
#include <helper.h>
Data Fields
•unsigned long long int init
•unsigned long long int end
•int size
•int perms
•char name [255]
•char hperms [10]
•void next
•int num
•int proba
•int probableval
The Witchcraft Compiler Collection
24 |
Data Structure Documentation |
3.19.1Detailed Description
Definition at line 11 of file helper.h.
3.19.2Field Documentation
3.19.2.1unsigned long long int section::end
Definition at line 13 of file helper.h.
3.19.2.2char section::hperms[10]
Definition at line 17 of file helper.h.
3.19.2.3unsigned long long int section::init
Definition at line 12 of file helper.h.
3.19.2.4char section::name[255]
Definition at line 16 of file helper.h.
3.19.2.5void section::next
Definition at line 18 of file helper.h.
3.19.2.6int section::num
Definition at line 20 of file helper.h.
3.19.2.7int section::perms
Definition at line 15 of file helper.h.
3.19.2.8int section::proba
Definition at line 21 of file helper.h.
3.19.2.9int section::probableval
Definition at line 22 of file helper.h.
3.19.2.10int section::size
Definition at line 14 of file helper.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/helper.h
The Witchcraft Compiler Collection
3.20 sections_t Struct Reference |
25 |
3.20 sections_t Struct Reference
#include <wsh.h>
Data Fields
•unsigned long int addr
•unsigned long int size
•char libname
•char name
•char perms
•int flags
•struct sections_t prev
•struct sections_t next
3.20.1Detailed Description
Representation of ELF Sections
Definition at line 474 of file wsh.h.
3.20.2Field Documentation
3.20.2.1unsigned long int sections_t::addr
Definition at line 475 of file wsh.h.
3.20.2.2int sections_t::flags
Definition at line 480 of file wsh.h.
3.20.2.3char sections_t::libname
Definition at line 477 of file wsh.h.
3.20.2.4char sections_t::name
Definition at line 478 of file wsh.h.
3.20.2.5struct sections_t sections_t::next
Definition at line 483 of file wsh.h.
3.20.2.6char sections_t::perms
Definition at line 479 of file wsh.h.
3.20.2.7struct sections_t sections_t::prev
Definition at line 482 of file wsh.h.
The Witchcraft Compiler Collection
26 |
Data Structure Documentation |
3.20.2.8unsigned long int sections_t::size
Definition at line 476 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.21 segments_t Struct Reference
#include <wsh.h>
Data Fields
•unsigned long int addr
•unsigned long int size
•char libname
•char type
•char perms
•int flags
•struct segments_t prev
•struct segments_t next
3.21.1Detailed Description
Representation of ELF Segments
Definition at line 490 of file wsh.h.
3.21.2Field Documentation
3.21.2.1unsigned long int segments_t::addr
Definition at line 491 of file wsh.h.
3.21.2.2int segments_t::flags
Definition at line 496 of file wsh.h.
3.21.2.3char segments_t::libname
Definition at line 493 of file wsh.h.
3.21.2.4struct segments_t segments_t::next
Definition at line 499 of file wsh.h.
3.21.2.5char segments_t::perms
Definition at line 495 of file wsh.h.
The Witchcraft Compiler Collection
3.22 signame_t Struct Reference |
27 |
3.21.2.6struct segments_t segments_t::prev
Definition at line 498 of file wsh.h.
3.21.2.7unsigned long int segments_t::size
Definition at line 492 of file wsh.h.
3.21.2.8char segments_t::type
Definition at line 494 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.22 signame_t Struct Reference
#include <sigs.h>
Data Fields
•int signal
•char name
3.22.1Detailed Description
Definition at line 1 of file sigs.h.
3.22.2Field Documentation
3.22.2.1char signame_t::name
Definition at line 3 of file sigs.h.
3.22.2.2int signame_t::signal
Definition at line 2 of file sigs.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/sigs.h
3.23 symaddr Struct Reference
Data Fields
•char name
•int addr
The Witchcraft Compiler Collection
28 |
Data Structure Documentation |
3.23.1Detailed Description
Definition at line 405 of file wcc.c.
3.23.2Field Documentation
3.23.2.1int symaddr::addr
Definition at line 408 of file wcc.c.
3.23.2.2char symaddr::name
Definition at line 407 of file wcc.c.
3.23.2.3struct symaddr symaddr::next
Definition at line 406 of file wcc.c.
The documentation for this struct was generated from the following file:
• wcc/wcc.c
3.24 symbols_t Struct Reference
#include <wsh.h>
Data Fields
•unsigned long int addr
•unsigned long int size
•char symbol
•char libname
•char htype
•char hbind
•unsigned long int value
3.24.1Detailed Description
Representation of ELF Symbols
Definition at line 506 of file wsh.h.
3.24.2Field Documentation
3.24.2.1unsigned long int symbols_t::addr
Definition at line 507 of file wsh.h.
The Witchcraft Compiler Collection
3.25 tuple_t Struct Reference |
29 |
3.24.2.2char symbols_t::hbind
Definition at line 512 of file wsh.h.
3.24.2.3char symbols_t::htype
Definition at line 511 of file wsh.h.
3.24.2.4char symbols_t::libname
Definition at line 510 of file wsh.h.
3.24.2.5struct symbols_t symbols_t::next
Definition at line 516 of file wsh.h.
3.24.2.6struct symbols_t symbols_t::prev
Definition at line 515 of file wsh.h.
3.24.2.7unsigned long int symbols_t::size
Definition at line 508 of file wsh.h.
3.24.2.8char symbols_t::symbol
Definition at line 509 of file wsh.h.
3.24.2.9unsigned long int symbols_t::value
Definition at line 513 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.25 tuple_t Struct Reference
#include <wsh.h>
Data Fields
•void addr
•char name
3.25.1Detailed Description
Definition at line 610 of file wsh.h.
The Witchcraft Compiler Collection
30 |
Data Structure Documentation |
3.25.2Field Documentation
3.25.2.1void tuple_t::addr
Definition at line 611 of file wsh.h.
3.25.2.2char tuple_t::name
Definition at line 612 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
3.26 wsh_t Struct Reference
#include <wsh.h>
Data Fields
•FILE scriptfile
•char scriptname
•char learnlog
•FILE learnfile
•unsigned int opt_verbose
•unsigned int opt_hollywood
•unsigned int mainhandle
•unsigned int opt_rescan
•unsigned int opt_verbosetrace
•unsigned int firsterrno
•unsigned int firstsicode
•unsigned int firstsignal
•unsigned int totsignals
•unsigned int globalsignals
•unsigned long int faultaddr
•void firstcontext
•unsigned int reason
•unsigned int is_stdinscript
•unsigned int bp_points
•void pltgot
•unsigned int pltsz
•ucontext_t errcontext
•unsigned long int btcaller
•unsigned int bp_num
•unsigned int opt_argc
•char opt_argv
•char script_args
•unsigned int script_argnum
•unsigned int trace_unaligned
•unsigned int trace_singlestep
•unsigned int trace_singlebranch
The Witchcraft Compiler Collection
3.26 wsh_t Struct Reference |
31 |
•unsigned int trace_rtrace
•unsigned int trace_strace
•unsigned int singlestep_count
•unsigned int singlebranch_count
•unsigned int sigbus_count
•unsigned long long int singlestep_hash
•unsigned long long int singlebranch_hash
•unsigned long long int sigbus_hash
•jmp_buf longjmp_ptr_high
•jmp_buf longjmp_ptr
•unsigned int interrupted
•unsigned int longjmp_ptr_high_cnt
•struct sections_t shdrs
•struct segments_t phdrs
3.26.1Detailed Description
wsh context
Definition at line 532 of file wsh.h.
3.26.2Field Documentation
3.26.2.1breakpoint_t wsh_t::bp_array
Definition at line 570 of file wsh.h.
3.26.2.2unsigned int wsh_t::bp_num
Definition at line 571 of file wsh.h.
3.26.2.3unsigned int wsh_t::bp_points
Definition at line 560 of file wsh.h.
3.26.2.4unsigned long int wsh_t::btcaller
Definition at line 568 of file wsh.h.
3.26.2.5struct eps_t wsh_t::eps
Definition at line 603 of file wsh.h.
3.26.2.6ucontext_t wsh_t::errcontext
Definition at line 565 of file wsh.h.
The Witchcraft Compiler Collection
32 |
Data Structure Documentation |
3.26.2.7unsigned long int wsh_t::faultaddr
Definition at line 554 of file wsh.h.
3.26.2.8void wsh_t::firstcontext
Definition at line 556 of file wsh.h.
3.26.2.9unsigned int wsh_t::firsterrno
Definition at line 549 of file wsh.h.
3.26.2.10unsigned int wsh_t::firstsicode
Definition at line 550 of file wsh.h.
3.26.2.11unsigned int wsh_t::firstsignal
Definition at line 551 of file wsh.h.
3.26.2.12unsigned int wsh_t::globalsignals
Definition at line 553 of file wsh.h.
3.26.2.13unsigned int wsh_t::interrupted
Definition at line 597 of file wsh.h.
3.26.2.14unsigned int wsh_t::is_stdinscript
Definition at line 559 of file wsh.h.
3.26.2.15lua_State wsh_t::L
Definition at line 535 of file wsh.h.
3.26.2.16FILE wsh_t::learnfile
Definition at line 540 of file wsh.h.
3.26.2.17char wsh_t::learnlog
Definition at line 539 of file wsh.h.
3.26.2.18jmp_buf wsh_t::longjmp_ptr
Definition at line 595 of file wsh.h.
The Witchcraft Compiler Collection
3.26 wsh_t Struct Reference |
33 |
3.26.2.19jmp_buf wsh_t::longjmp_ptr_high
Definition at line 594 of file wsh.h.
3.26.2.20unsigned int wsh_t::longjmp_ptr_high_cnt
Definition at line 598 of file wsh.h.
3.26.2.21unsigned int wsh_t::mainhandle
Definition at line 544 of file wsh.h.
3.26.2.22unsigned int wsh_t::opt_argc
Definition at line 573 of file wsh.h.
3.26.2.23char wsh_t::opt_argv
Definition at line 574 of file wsh.h.
3.26.2.24unsigned int wsh_t::opt_hollywood
Definition at line 543 of file wsh.h.
3.26.2.25unsigned int wsh_t::opt_rescan
Definition at line 545 of file wsh.h.
3.26.2.26unsigned int wsh_t::opt_verbose
Definition at line 542 of file wsh.h.
3.26.2.27unsigned int wsh_t::opt_verbosetrace
Definition at line 547 of file wsh.h.
3.26.2.28struct segments_t wsh_t::phdrs
Definition at line 601 of file wsh.h.
3.26.2.29void wsh_t::pltgot
Definition at line 562 of file wsh.h.
3.26.2.30unsigned int wsh_t::pltsz
Definition at line 563 of file wsh.h.
The Witchcraft Compiler Collection
34 |
Data Structure Documentation |
3.26.2.31struct preload_t wsh_t::preload
Definition at line 605 of file wsh.h.
3.26.2.32unsigned int wsh_t::reason
Definition at line 557 of file wsh.h.
3.26.2.33unsigned int wsh_t::script_argnum
Definition at line 577 of file wsh.h.
3.26.2.34char wsh_t::script_args
Definition at line 576 of file wsh.h.
3.26.2.35FILE wsh_t::scriptfile
Definition at line 536 of file wsh.h.
3.26.2.36char wsh_t::scriptname
Definition at line 537 of file wsh.h.
3.26.2.37struct script_t wsh_t::scripts
Definition at line 606 of file wsh.h.
3.26.2.38struct sections_t wsh_t::shdrs
Definition at line 600 of file wsh.h.
3.26.2.39unsigned int wsh_t::sigbus_count
Definition at line 588 of file wsh.h.
3.26.2.40unsigned long long int wsh_t::sigbus_hash
Definition at line 592 of file wsh.h.
3.26.2.41unsigned int wsh_t::singlebranch_count
Definition at line 587 of file wsh.h.
3.26.2.42unsigned long long int wsh_t::singlebranch_hash
Definition at line 591 of file wsh.h.
The Witchcraft Compiler Collection
3.26 wsh_t Struct Reference |
35 |
3.26.2.43unsigned int wsh_t::singlestep_count
Definition at line 586 of file wsh.h.
3.26.2.44unsigned long long int wsh_t::singlestep_hash
Definition at line 590 of file wsh.h.
3.26.2.45struct symbols_t wsh_t::symbols
Definition at line 602 of file wsh.h.
3.26.2.46unsigned int wsh_t::totsignals
Definition at line 552 of file wsh.h.
3.26.2.47unsigned int wsh_t::trace_rtrace
Definition at line 583 of file wsh.h.
3.26.2.48unsigned int wsh_t::trace_singlebranch
Definition at line 581 of file wsh.h.
3.26.2.49unsigned int wsh_t::trace_singlestep
Definition at line 580 of file wsh.h.
3.26.2.50unsigned int wsh_t::trace_strace
Definition at line 584 of file wsh.h.
3.26.2.51unsigned int wsh_t::trace_unaligned
Definition at line 579 of file wsh.h.
The documentation for this struct was generated from the following file:
• wsh/include/libwitch/wsh.h
The Witchcraft Compiler Collection
36 |
Data Structure Documentation |
The Witchcraft Compiler Collection
Chapter 4
File Documentation
4.1 wcc/wcc.c File Reference
#include <bfd.h> #include <dlfcn.h> #include <elf.h> #include <errno.h> #include <fcntl.h> #include <getopt.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/procfs.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/ucontext.h> #include <unistd.h> #include <utlist.h> #include <ctype.h> #include <libelf.h> #include <gelf.h> #include <nametotype.h> #include <nametoalign.h> #include <nametoentsz.h> #include <nametolink.h> #include <nametoinfo.h> #include <arch.h> #include <inttypes.h> #include <config.h> #include <capstone/capstone.h>
Data Structures
•struct msec_t
•struct mseg_t
•struct ctx_t
•struct symaddr
•struct gimport_t
38 |
File Documentation |
Macros
•#define __USE_GNU
•#define _GNU_SOURCE
•#define DEFAULT_STRNDX_SIZE 4096
•#define FLAG_BSS 1
•#define FLAG_NOBIT 2
•#define FLAG_NOWRITE 4
•#define FLAG_TEXT 8
•#define ifis(x) if(!strncmp(name, x, strlen(x)))
•#define elis(x) else if(!strncmp(name, x, strlen(x)))
•#define MAXPADLEN 20
•#define EXTRA_CREATED_SECTIONS 4
•#define RELOC_X86_64 1
•#define RELOC_X86_32 2
•#define Elf_Ehdr Elf32_Ehdr
•#define Elf_Shdr Elf32_Shdr
•#define Elf_Sym Elf32_Sym
•#define Elf_Addr Elf32_Addr
•#define Elf_Sword Elf64_Sword
•#define Elf_Section Elf32_Half
•#define ELF_ST_BIND ELF32_ST_BIND
•#define ELF_ST_TYPE ELF32_ST_TYPE
•#define Elf_Rel Elf32_Rel
•#define Elf_Rela Elf32_Rela
•#define ELF_R_SYM ELF32_R_SYM
•#define ELF_R_TYPE ELF32_R_TYPE
•#define ELF_R_INFO ELF32_R_INFO
•#define Elf_Phdr Elf32_Phdr
•#define Elf_Xword Elf32_Xword
•#define Elf_Word Elf32_Word
•#define Elf_Off Elf32_Off
•#define ELFCLASS ELFCLASS32
•#define ELFMACHINE EM_386
•#define CS_MODE CS_MODE_32
•#define RELOC_MODE RELOC_X86_32
•#define nullstr "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
Typedefs
•typedef struct msec_t msec_t
•typedef struct mseg_t mseg_t
•typedef struct ctx_t ctx_t
•typedef struct gimport_t gimport_t
Functions
•int craft_section (ctx_t ctx, msec_t m)
•unsigned int secindex_from_name (ctx_t ctx, const char name)
•msec_t section_from_name (ctx_t ctx, char name)
•msec_t section_from_addr (ctx_t ctx, unsigned long int addr)
•int print_bfd_sections (ctx_t ctx)
•msec_t section_from_index (ctx_t ctx, unsigned int index)
•unsigned int secindex_from_name_after_strip (ctx_t ctx, const char name)
The Witchcraft Compiler Collection
4.1 wcc/wcc.c File Reference |
39 |
•int analyze_text (ctx_t ctx, char data, unsigned int datalen, unsigned long int addr)
•int save_reloc (ctx_t ctx, Elf_Rela r, unsigned int sindex, int has_addend)
•unsigned int protect_perms (unsigned int perms)
•void add_symaddr (ctx_t ctx, const char name, int addr, char symclass)
•int add_extra_symbols (ctx_t ctx)
•int rd_symbols (ctx_t ctx)
•int entszfromname (const char name)
•unsigned int max (unsigned int a, unsigned int b)
•char sec_name_from_index_after_strip (ctx_t ctx, unsigned int index)
•int link_from_name (ctx_t ctx, const char name)
•int info_from_name (ctx_t ctx, const char name)
•int typefromname (const char name)
•unsigned int alignfromname (const char name)
•unsigned int ptype_from_section (msec_t ms)
•unsigned int pflag_from_section (msec_t ms)
•int phdr_cmp_premerge (mseg_t a, mseg_t b)
•int phdr_cmp (mseg_t a, mseg_t b)
•int sort_phdrs (ctx_t ctx)
•int sort_phdrs_premerge (ctx_t ctx)
•mseg_t alloc_phdr (msec_t ms)
•int create_phdrs (ctx_t ctx)
•int merge_phdrs (ctx_t ctx)
•int adjust_baseaddress (ctx_t ctx)
•msec_t mk_section (void)
•char reloc_htype_x86_64 (int thetype)
•char reloc_htype_x86_32 (int thetype)
•char reloc_htype (int thetype)
•int fixup_strtab_and_symtab (ctx_t ctx)
•unsigned int append_sym (Elf_Sym s)
•unsigned int append_strtab (char str)
•void hexdump (unsigned char data, size_t size)
•unsigned int open_best (ctx_t ctx)
•int open_target (ctx_t ctx)
•int load_binary (ctx_t ctx)
•int flags_from_name (const char name)
•int print_msec (ctx_t ctx)
•int rd_sections (ctx_t ctx)
•int save_dynstr (ctx_t ctx, GElf_Shdr shdr, char binary)
•int save_dynsym (ctx_t ctx, GElf_Shdr shdr, char binary)
•int patch_symbol_index (ctx_t ctx, Elf_Sym s)
•int fixup_symtab_section_index (ctx_t ctx)
•int append_reloc (Elf_Rela r)
•int save_global_import (ctx_t ctx, char sname, msec_t sec, Elf_Rela r, unsigned int sindex)
•int check_global_import (unsigned long int addr)
•int internal_function_store (ctx_t ctx, unsigned long long int addr)
•int rm_section (ctx_t ctx, char name)
•int strip_binary_reloc (ctx_t ctx)
•unsigned int libify (ctx_t ctx)
•int print_maps (void)
•int usage (char name)
•int print_version (void)
•int desired_arch (ctx_t ctx, char name)
•int ctx_getopt (ctx_t ctx, int argc, char argv)
•int main (int argc, char argv)
The Witchcraft Compiler Collection