sdzahed/LBC-Plugin
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1) Build Judy and copy the lib file to plugin directory. cd judy-1.0.5 ./configure make cp src/obj/.libs/libJudy.a ../plugin_src/ 2) Compile liblbc gcc -c -I. -O2 zinit.c -o zinit.o ar rcs liblbc.a zinit.o 3) Create plugin so file. cd plugin_src make or use the following gcc command gcc -I`gcc -print-file-name=plugin`/include -fPIC -shared -O2 plugin_lbc.c -o plugin_lbc.so 4) Start using the plugin using the following command: gcc -fplugin=../plugin-src/plugin_lbc.so hello.c -llbc -fdump-tree-all -L../liblbc/ Alternatively, copy the files liblbc.a and plugin_lbc.so to /usr/local/lib in order to skip the relative paths in the above command line.
About
GCC Plugin to enfore the LBC checks
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published