https://github.com/danmar/gcc-plugins
GCC plugins
https://github.com/danmar/gcc-plugins
Last synced: 12 months ago
JSON representation
GCC plugins
- Host: GitHub
- URL: https://github.com/danmar/gcc-plugins
- Owner: danmar
- License: gpl-3.0
- Created: 2011-01-28T20:10:11.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-07-29T05:56:15.000Z (almost 15 years ago)
- Last Synced: 2025-03-29T03:41:35.277Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 197 KB
- Stars: 28
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
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