freebsd-skq/stand/common
imp 450f8da6d5 Break out the interpreters (simple and forth) w/o ifdefs. This is
akin to what Pedro Souza and Wojciech Koszek did in the lua GSoC with
interp.h, interp_simple.c and changes to interp.c and interp_forth.c,
but completely redone from scratch.

This effectively restores the spirit of r326712 (my first attempt to
bring in Pedro's and Wojciech's work) updated for new requirements
that had silently broke their original work.  This change also differs
by using fixed function names instead of function pointers to simply
things. Only one interpreter at a time may be compiled in.

Also of note: we take a mutable string, pass it in via a const char *
pointer into intrp_forth's interp_run(). We then cast away the const
to pass into ficlExec since ficl would require extensive changes to
properly const-poison. See Sections 6.5.2.5 and 6.7.3 of C11 standard
noting it's only UB if you modify a const object through a non-const
pointer, but not char [] -> const char * -> char * as here.
2018-01-31 22:46:05 +00:00
..
bcache.c
boot.c Fix some resource leaks. 2018-01-23 18:01:17 +00:00
bootstrap.h Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
commands.c Don't leak memory when displaying help. 2018-01-23 18:01:27 +00:00
console.c
dev_net.c
dev_net.h
devopen.c
disk.c
disk.h
help.common
install.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp_backslash.c Const poison a couple of interfaces. 2017-12-08 19:57:11 +00:00
interp_forth.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp_parse.c Const poison a couple of interfaces. 2017-12-08 19:57:11 +00:00
interp_simple.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Require the SHF_ALLOC flag for program sections from kernel object modules. 2018-01-17 22:51:59 +00:00
load_elf.c Add missing non-POWERPC case to give the scr value something non-zero. 2018-01-30 20:00:12 +00:00
ls.c
Makefile.depend
md.c
merge_help.awk
misc.c There's no tainted data here, tag it as such to avoid the slew of 2018-01-23 18:01:40 +00:00
module.c
newvers.sh
part.c
part.h
paths.h
pnp.c
rbx.h
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Skip IRELATIVE relocations when loader processes ELF files. 2018-01-11 13:57:30 +00:00
self_reloc.c