quakeforge/tools/qfcc/source
Bill Currie d2f2fdc28e Create dummy definitions for local variables.
The entry dummy block is setup to provide dummy definitions of local
variables so the reaching definitions analysis can be used to detect
uninitialized variables (not implemented yet). Fake statement numbers
(func->num_statements + X) are used to represent the definitions. Local
variables (ie, not temp ops) use their offsets (ie, the offset range they
cover) for X. Temp ops use their flowvar number + the size of the
function's defspace for X. flow_kill_aliases() should take care of temp op
aliasing, while the use of the actual offsets spanned by the variable's def
should take care of any wild aliasing so structures and unions should
become a non-issue.
2012-12-10 15:26:47 +09:00
..
.indent.pro indent whitespace cleanup. not perfect, but a bit more consistent now 2001-12-06 19:49:40 +00:00
class.c Document def.h. 2012-12-02 19:54:20 +09:00
codespace.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
constfold.c Make values independent objects. 2012-11-15 13:44:06 +09:00
cpp.c Fall back to execve/wait when execvp and waitpid are unavailable. 2012-08-19 13:18:38 +09:00
dags.c Rename set_iter_t's member to value. 2012-12-06 21:11:38 +09:00
debug.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
def.c Add convenience functions for getting a def's offset and size. 2012-12-10 14:40:43 +09:00
defspace.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
diagnostic.c Add a non-error diagnostic that can't be silenced. 2012-05-03 13:24:24 +09:00
disassemble.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dot.c Create a function to generalize dot dumping. 2012-11-15 13:44:08 +09:00
dot_dag.c Rename set_iter_t's member to value. 2012-12-06 21:11:38 +09:00
dot_expr.c Be more clear about integral expression types. 2012-12-05 22:18:13 +09:00
dot_flow.c Add dummy nodes at the beginning and end of the graph. 2012-12-10 13:56:26 +09:00
dot_sblock.c Move and rename statement related flow_is_* and flow_get_* 2012-11-30 14:06:52 +09:00
dump_globals.c Add a param flag to defs. 2012-11-20 17:50:59 +09:00
dump_lines.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dump_modules.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
dump_strings.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
emit.c Move flowvar/deflabel from symbol_t to def_t. 2012-12-05 19:47:22 +09:00
expr.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
flow.c Create dummy definitions for local variables. 2012-12-10 15:26:47 +09:00
function.c Clean up the flow api a little. 2012-12-09 20:50:53 +09:00
grab.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
idstuff.c Use dstring for progdefs.h writing. 2012-05-02 23:39:49 +09:00
linker.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
Makefile.am Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
method.c Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
obj_file.c Fix an ownership problem with line numbers in qfos. 2012-12-02 18:59:35 +09:00
obj_type.c Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
opcodes.c Add some very evil pragmas. 2012-11-22 21:59:01 +09:00
options.c Make the reaching defs dot dump optional. 2012-12-10 12:17:20 +09:00
pragma.c Add some very evil pragmas. 2012-11-22 21:59:01 +09:00
qc-lex.l Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
qc-parse.y Fix the wrong space for static vars. 2012-12-04 14:25:06 +09:00
qfcc.c Make defspaces typed. 2012-12-04 14:16:52 +09:00
qfpreqcc Better handling of progs.dat and line numbers. 2012-11-15 14:53:09 +09:00
qfprogs.c Support progs.dat when dumping type encodings. 2012-11-15 11:58:13 +09:00
qp-lex.l Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
qp-parse.y Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
reloc.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
shared.c Rename the storage_class_t enum values. 2012-12-02 10:11:30 +09:00
statements.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
strpool.c Separate out C and html quoting into separate functions. 2012-10-30 12:31:22 +09:00
struct.c Do a little bit of cleanup. 2012-12-04 12:48:52 +09:00
stub.c Do a little bit of const correctness for type.[ch] 2012-12-05 22:15:19 +09:00
switch.c Fix jumpb's operand types. 2012-12-05 22:20:55 +09:00
symtab.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
type.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00
value.c Move set.c into libQFutil. 2012-12-06 20:52:53 +09:00