GCC plugins
C
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
dump-tree-xml dump-tree-xml: fixed compiler warnings Jul 29, 2011
hello added GPL license to hello.c Jan 30, 2011
include the STATEMENT_LIST is a tcc_exceptional item Jan 31, 2011
myplugin1
nullpointer1 the STATEMENT_LIST is a tcc_exceptional item Jan 31, 2011
COPYING
README dump-tree-xml: Added new plugin that should dump the tree in XML format Jul 28, 2011

README

GCC plugins

hello
  print "hello" on the screen

myplugin1
  print AST tree

nullpointer1
  scan for null pointer dereferencing.
  example:
    if (ab || ab->a == 0)

dump-tree-xml
  dump AST tree in xml format

Note:
  A working GCC development environment is needed.
  I use this command to configure:
    ../configure --enable-languages=c,c++ --disable-multilib --enable-checks=all --program-suffix=-dev