adlint 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +27 -0
- data/COPYING +674 -0
- data/ChangeLog +820 -0
- data/INSTALL +78 -0
- data/MANIFEST +464 -0
- data/NEWS +38 -0
- data/README +74 -0
- data/Rakefile +167 -0
- data/TODO +29 -0
- data/bin/adlint +141 -0
- data/bin/adlint_chk +129 -0
- data/bin/adlint_cma +122 -0
- data/bin/adlint_sma +129 -0
- data/bin/adlintize +286 -0
- data/etc/conf.d/fallback/cinit.erb +11 -0
- data/etc/conf.d/fallback/traits.erb +216 -0
- data/etc/conf.d/i686-cygwin/cinit-gcc_4.3.4.erb +149 -0
- data/etc/conf.d/i686-cygwin/traits-gcc_4.3.4.erb +227 -0
- data/etc/conf.d/i686-devkit/cinit-gcc_4.5.2.erb +224 -0
- data/etc/conf.d/i686-devkit/traits-gcc_4.5.2.erb +226 -0
- data/etc/conf.d/i686-linux/cinit-gcc_4.5.1.erb +219 -0
- data/etc/conf.d/i686-linux/traits-gcc_4.5.1.erb +224 -0
- data/etc/conf.d/i686-mingw/cinit-gcc_4.6.1.erb +234 -0
- data/etc/conf.d/i686-mingw/traits-gcc_4.6.1.erb +226 -0
- data/etc/conf.d/noarch/GNUmakefile.erb +119 -0
- data/etc/conf.d/noarch/adlint_all_bat.erb +9 -0
- data/etc/conf.d/noarch/adlint_all_sh.erb +10 -0
- data/etc/conf.d/noarch/pinit.erb +11 -0
- data/etc/mesg.d/en_US/messages.yml +784 -0
- data/etc/mesg.d/ja_JP/messages.yml +784 -0
- data/lib/adlint/analyzer.rb +294 -0
- data/lib/adlint/c/branch.rb +251 -0
- data/lib/adlint/c/builtin.rb +92 -0
- data/lib/adlint/c/code.rb +490 -0
- data/lib/adlint/c/const.rb +465 -0
- data/lib/adlint/c/conv.rb +212 -0
- data/lib/adlint/c/ctrlexpr.rb +949 -0
- data/lib/adlint/c/domain.rb +7499 -0
- data/lib/adlint/c/environ.rb +133 -0
- data/lib/adlint/c/expr.rb +1725 -0
- data/lib/adlint/c/format.rb +3209 -0
- data/lib/adlint/c/interp.rb +1740 -0
- data/lib/adlint/c/lexer.rb +241 -0
- data/lib/adlint/c/mediator.rb +313 -0
- data/lib/adlint/c/message.rb +13597 -0
- data/lib/adlint/c/metric.rb +765 -0
- data/lib/adlint/c/object.rb +1018 -0
- data/lib/adlint/c/parser.rb +3800 -0
- data/lib/adlint/c/parser.y +2054 -0
- data/lib/adlint/c/phase.rb +712 -0
- data/lib/adlint/c/resolver.rb +270 -0
- data/lib/adlint/c/scanner.rb +248 -0
- data/lib/adlint/c/scope.rb +74 -0
- data/lib/adlint/c/syntax.rb +4279 -0
- data/lib/adlint/c/type.rb +7506 -0
- data/lib/adlint/c/util.rb +91 -0
- data/lib/adlint/c/value.rb +2310 -0
- data/lib/adlint/c.rb +56 -0
- data/lib/adlint/code.rb +500 -0
- data/lib/adlint/cpp/code.rb +189 -0
- data/lib/adlint/cpp/constexpr.rb +721 -0
- data/lib/adlint/cpp/constexpr.y +389 -0
- data/lib/adlint/cpp/eval.rb +1012 -0
- data/lib/adlint/cpp/lexer.rb +860 -0
- data/lib/adlint/cpp/macro.rb +637 -0
- data/lib/adlint/cpp/message.rb +992 -0
- data/lib/adlint/cpp/phase.rb +176 -0
- data/lib/adlint/cpp/scanner.rb +93 -0
- data/lib/adlint/cpp/source.rb +169 -0
- data/lib/adlint/cpp/subst.rb +300 -0
- data/lib/adlint/cpp/syntax.rb +1412 -0
- data/lib/adlint/cpp/util.rb +97 -0
- data/lib/adlint/cpp.rb +43 -0
- data/lib/adlint/driver.rb +147 -0
- data/lib/adlint/error.rb +179 -0
- data/lib/adlint/lang.rb +97 -0
- data/lib/adlint/ld/message.rb +259 -0
- data/lib/adlint/ld/metric.rb +57 -0
- data/lib/adlint/ld/object.rb +542 -0
- data/lib/adlint/ld/phase.rb +193 -0
- data/lib/adlint/ld/typedef.rb +109 -0
- data/lib/adlint/ld/util.rb +88 -0
- data/lib/adlint/ld.rb +37 -0
- data/lib/adlint/lexer.rb +293 -0
- data/lib/adlint/message.rb +368 -0
- data/lib/adlint/metric.rb +805 -0
- data/lib/adlint/monitor.rb +144 -0
- data/lib/adlint/phase.rb +90 -0
- data/lib/adlint/prelude.rb +314 -0
- data/lib/adlint/report.rb +617 -0
- data/lib/adlint/source.rb +155 -0
- data/lib/adlint/symbol.rb +127 -0
- data/lib/adlint/token.rb +215 -0
- data/lib/adlint/traits.rb +643 -0
- data/lib/adlint/util.rb +524 -0
- data/lib/adlint/version.rb +71 -0
- data/lib/adlint.rb +66 -0
- data/share/HEADER +45 -0
- data/share/demo/Makefile +110 -0
- data/share/demo/ambig_operator/ambig_operator.c +289 -0
- data/share/demo/arg_points_unset/arg_points_unset.c +37 -0
- data/share/demo/array_range/array_range.c +62 -0
- data/share/demo/bad_bitfields/bad_bitfields.c +74 -0
- data/share/demo/bad_brace/bad_brace.c +19 -0
- data/share/demo/bad_charset/abcde$.h +0 -0
- data/share/demo/bad_charset/bad_charset.c +22 -0
- data/share/demo/bad_comment/bad_comment.c +3 -0
- data/share/demo/bad_const/bad_const.c +19 -0
- data/share/demo/bad_conv/bad_conv.c +48 -0
- data/share/demo/bad_indent/bad_indent.c +50 -0
- data/share/demo/bad_init/bad_init.c +49 -0
- data/share/demo/bad_macro/bad_macro.c +97 -0
- data/share/demo/bitwise_expr/bitwise_expr.c +19 -0
- data/share/demo/call_by_value/call_by_value.c +26 -0
- data/share/demo/cross_ref/cross_ref.c +21 -0
- data/share/demo/dangling_else/dangling_else.c +20 -0
- data/share/demo/dead_code/dead_code.c +237 -0
- data/share/demo/deep_nest/deep_nest.c +57 -0
- data/share/demo/dense_switch/dense_switch.c +62 -0
- data/share/demo/direct_recur/direct_recur.c +15 -0
- data/share/demo/div_by_zero/div_by_zero.c +35 -0
- data/share/demo/dos_source/dos_source.c +7 -0
- data/share/demo/funptr_cast/funptr_cast.c +26 -0
- data/share/demo/goto_stmt/goto_stmt.c +19 -0
- data/share/demo/id_hiding/id_hiding.c +19 -0
- data/share/demo/ill_defined/ill_defined.c +13 -0
- data/share/demo/implicit_conv/implicit_conv.c +60 -0
- data/share/demo/implicit_int/implicit_int.c +14 -0
- data/share/demo/incomplete_type/incomplete_type.c +49 -0
- data/share/demo/indirect_recur/indirect_recur_1.c +14 -0
- data/share/demo/indirect_recur/indirect_recur_1.h +7 -0
- data/share/demo/indirect_recur/indirect_recur_2.c +12 -0
- data/share/demo/indirect_recur/indirect_recur_2.h +6 -0
- data/share/demo/indirect_recur/indirect_recur_3.c +6 -0
- data/share/demo/indirect_recur/indirect_recur_3.h +6 -0
- data/share/demo/indirect_recur/indirect_recur_4.c +25 -0
- data/share/demo/intro_demo/intro_demo.c +76 -0
- data/share/demo/intro_demo/intro_demo.h +12 -0
- data/share/demo/intro_demo/useless_header.h +5 -0
- data/share/demo/invalid_call/invalid_call.c +32 -0
- data/share/demo/kandr_fundef/kandr_fundef.c +10 -0
- data/share/demo/line_comment/line_comment.c +12 -0
- data/share/demo/local_decl/local_decl.c +9 -0
- data/share/demo/logical_trick/logical_trick.c +36 -0
- data/share/demo/long_sym/long_sym.c +5 -0
- data/share/demo/loop_var/loop_var.c +92 -0
- data/share/demo/malloc_or_die/malloc_or_die.c +43 -0
- data/share/demo/may_be_null/may_be_null.c +52 -0
- data/share/demo/may_be_null_arith/may_be_null_arith.c +15 -0
- data/share/demo/may_be_unset/may_be_unset.c +34 -0
- data/share/demo/mmapped_io/mmapped_io.c +23 -0
- data/share/demo/multi_break/multi_break.c +33 -0
- data/share/demo/multi_decl/multi_decl_1.c +17 -0
- data/share/demo/multi_decl/multi_decl_1.h +6 -0
- data/share/demo/multi_decl/multi_decl_2.c +13 -0
- data/share/demo/multi_decl/multi_decl_2.h +6 -0
- data/share/demo/multi_decl/multi_decl_3.c +22 -0
- data/share/demo/multi_def/multi_def_1.c +36 -0
- data/share/demo/multi_def/multi_def_1.h +6 -0
- data/share/demo/multi_def/multi_def_2.c +22 -0
- data/share/demo/multi_def/multi_def_2.h +6 -0
- data/share/demo/multi_def/multi_def_3.c +6 -0
- data/share/demo/multi_typedef/multi_typedef.c +11 -0
- data/share/demo/multi_typedef/multi_typedef_1.h +1 -0
- data/share/demo/multi_typedef/multi_typedef_2.h +1 -0
- data/share/demo/must_be_false/must_be_false.c +53 -0
- data/share/demo/must_be_null/must_be_null.c +13 -0
- data/share/demo/must_be_null_arith/must_be_null_arith.c +14 -0
- data/share/demo/must_be_true/must_be_true.c +21 -0
- data/share/demo/no_eof_nl/no_eof_nl.c +4 -0
- data/share/demo/no_void_arg/no_void_arg.c +14 -0
- data/share/demo/null_stmt/null_stmt.c +19 -0
- data/share/demo/octal_const/octal_const.c +20 -0
- data/share/demo/output_by_param/output_by_param.c +17 -0
- data/share/demo/overflow/overflow.c +74 -0
- data/share/demo/press_release/press_release.c +40 -0
- data/share/demo/retn_lvar_addr/retn_lvar_addr.c +47 -0
- data/share/demo/shift_expr/shift_expr.c +14 -0
- data/share/demo/should_be_typedef/should_be_typedef.c +51 -0
- data/share/demo/static_paths/static_paths.c +153 -0
- data/share/demo/static_vars/static_vars.c +39 -0
- data/share/demo/tag_hiding/tag_hiding.c +18 -0
- data/share/demo/tricky_incdec/tricky_incdec.c +12 -0
- data/share/demo/undefined_macro/undefined_macro.c +17 -0
- data/share/demo/uninit_vars/uninit_vars.c +28 -0
- data/share/demo/union_type/union_type.c +23 -0
- data/share/demo/unmatch_decl/unmatch_decl_1.c +12 -0
- data/share/demo/unmatch_decl/unmatch_decl_1.h +8 -0
- data/share/demo/unmatch_decl/unmatch_decl_2.c +10 -0
- data/share/demo/unmatch_decl/unmatch_decl_2.h +8 -0
- data/share/demo/unmatch_decl/unmatch_decl_3.c +7 -0
- data/share/demo/unmatch_paren_macro/unmatch_paren_macro.c +15 -0
- data/share/demo/unreachable/unreachable.c +34 -0
- data/share/demo/useless_exp_funs/useless_exp_funs_1.c +14 -0
- data/share/demo/useless_exp_funs/useless_exp_funs_1.h +1 -0
- data/share/demo/useless_exp_funs/useless_exp_funs_2.c +6 -0
- data/share/demo/useless_exp_vars/useless_export_1.c +8 -0
- data/share/demo/useless_exp_vars/useless_export_1.h +1 -0
- data/share/demo/useless_exp_vars/useless_export_2.c +7 -0
- data/share/demo/useless_expr/useless_expr.c +17 -0
- data/share/demo/useless_funs/useless_funs_1.c +21 -0
- data/share/demo/useless_funs/useless_funs_1.h +8 -0
- data/share/demo/useless_funs/useless_funs_2.c +6 -0
- data/share/demo/useless_header/useless_header.c +9 -0
- data/share/demo/useless_header/useless_header_1.h +12 -0
- data/share/demo/useless_header/useless_header_2.h +6 -0
- data/share/demo/useless_header/useless_header_3.h +9 -0
- data/share/demo/useless_header/useless_header_4.h +3 -0
- data/share/demo/useless_vars/useless_vars.c +17 -0
- data/share/demo/va_funcall/va_funcall.c +25 -0
- data/share/demo/various_fundef/various_fundef.c +36 -0
- data/share/demo/wchar_wstring/wchar_wstring.c +7 -0
- data/share/demo/wrap_around/wrap_around.c +38 -0
- data/share/doc/Makefile +16 -0
- data/share/doc/adlint_on_adqua.png +0 -0
- data/share/doc/adlint_on_eclipse_en.png +0 -0
- data/share/doc/adlint_on_eclipse_ja.png +0 -0
- data/share/doc/adlint_on_vim_en.png +0 -0
- data/share/doc/adlint_on_vim_ja.png +0 -0
- data/share/doc/developers_guide_ja.html +171 -0
- data/share/doc/developers_guide_ja.texi +87 -0
- data/share/doc/gen_mesg_sections.rb +39 -0
- data/share/doc/samples/GNUmakefile +162 -0
- data/share/doc/samples/adlint_traits.yml +238 -0
- data/share/doc/texinfo.css +22 -0
- data/share/doc/users_guide_en.html +39975 -0
- data/share/doc/users_guide_en.texi +32640 -0
- data/share/doc/users_guide_ja.html +40505 -0
- data/share/doc/users_guide_ja.texi +33189 -0
- data/share/logo/adlint-110.png +0 -0
- data/share/logo/adlint-524.png +0 -0
- data/share/logo/adlint.svg +4637 -0
- data/share/sample/README +6 -0
- data/share/sample/bison-2.5/adlint/GNUmakefile +170 -0
- data/share/sample/bison-2.5/adlint/adlint_traits.yml +225 -0
- data/share/sample/bison-2.5/adlint/lib/GNUmakefile +198 -0
- data/share/sample/bison-2.5/adlint/lib/adlint_cinit.h +228 -0
- data/share/sample/bison-2.5/adlint/lib/adlint_pinit.h +21 -0
- data/share/sample/bison-2.5/adlint/lib/adlint_traits.yml +238 -0
- data/share/sample/bison-2.5/adlint/src/GNUmakefile +166 -0
- data/share/sample/bison-2.5/adlint/src/adlint_cinit.h +228 -0
- data/share/sample/bison-2.5/adlint/src/adlint_pinit.h +21 -0
- data/share/sample/bison-2.5/adlint/src/adlint_traits.yml +239 -0
- data/share/sample/ctags-5.8/adlint/GNUmakefile +169 -0
- data/share/sample/ctags-5.8/adlint/adlint_cinit.h +219 -0
- data/share/sample/ctags-5.8/adlint/adlint_pinit.h +13 -0
- data/share/sample/ctags-5.8/adlint/adlint_traits.yml +225 -0
- data/share/sample/flex-2.5.35/adlint/GNUmakefile +140 -0
- data/share/sample/flex-2.5.35/adlint/adlint_cinit.h +219 -0
- data/share/sample/flex-2.5.35/adlint/adlint_pinit.h +14 -0
- data/share/sample/flex-2.5.35/adlint/adlint_traits.yml +225 -0
- data/share/sample/ruby-1.9.3-p0/adlint/GNUmakefile +314 -0
- data/share/sample/ruby-1.9.3-p0/adlint/adlint_traits.yml +225 -0
- data/share/sample/ruby-1.9.3-p0/adlint/core/GNUmakefile +204 -0
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_pinit.h +28 -0
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_traits.yml +240 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc/GNUmakefile +163 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_traits.yml +240 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/GNUmakefile +149 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_traits.yml +240 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/GNUmakefile +134 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/GNUmakefile +132 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/GNUmakefile +132 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/GNUmakefile +132 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/GNUmakefile +132 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/GNUmakefile +134 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/GNUmakefile +140 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/GNUmakefile +134 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_traits.yml +242 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/GNUmakefile +162 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/GNUmakefile +135 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/GNUmakefile +132 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/GNUmakefile +144 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/GNUmakefile +140 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_traits.yml +241 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/GNUmakefile +131 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_cinit.h +228 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_pinit.h +24 -0
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_traits.yml +241 -0
- data/share/sample/screen-4.0.3/adlint/GNUmakefile +162 -0
- data/share/sample/screen-4.0.3/adlint/adlint_cinit.h +228 -0
- data/share/sample/screen-4.0.3/adlint/adlint_pinit.h +21 -0
- data/share/sample/screen-4.0.3/adlint/adlint_traits.yml +238 -0
- data/share/sample/vim-7.3/adlint/vim/GNUmakefile +185 -0
- data/share/sample/vim-7.3/adlint/vim/adlint_cinit.h +228 -0
- data/share/sample/vim-7.3/adlint/vim/adlint_pinit.h +25 -0
- data/share/sample/vim-7.3/adlint/vim/adlint_traits.yml +250 -0
- data/share/sample/vim-7.3/adlint/xxd/GNUmakefile +131 -0
- data/share/sample/vim-7.3/adlint/xxd/adlint_cinit.h +228 -0
- data/share/sample/vim-7.3/adlint/xxd/adlint_pinit.h +24 -0
- data/share/sample/vim-7.3/adlint/xxd/adlint_traits.yml +237 -0
- data/share/sample/zsh-4.3.15/adlint/GNUmakefile +146 -0
- data/share/sample/zsh-4.3.15/adlint/adlint_traits.yml +225 -0
- data/share/sample/zsh-4.3.15/adlint/builtins/GNUmakefile +132 -0
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_cinit.h +228 -0
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_pinit.h +24 -0
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_traits.yml +240 -0
- data/share/sample/zsh-4.3.15/adlint/core/GNUmakefile +153 -0
- data/share/sample/zsh-4.3.15/adlint/core/adlint_cinit.h +228 -0
- data/share/sample/zsh-4.3.15/adlint/core/adlint_pinit.h +23 -0
- data/share/sample/zsh-4.3.15/adlint/core/adlint_traits.yml +239 -0
- data/share/sample/zsh-4.3.15/adlint/modules/GNUmakefile +147 -0
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_cinit.h +228 -0
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_pinit.h +24 -0
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_traits.yml +240 -0
- data/share/sample/zsh-4.3.15/adlint/zle/GNUmakefile +144 -0
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_cinit.h +228 -0
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_pinit.h +24 -0
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_traits.yml +239 -0
- data/spec/MUST_WRITE_SPECS_WITH_RSPEC +0 -0
- metadata +532 -0
@@ -0,0 +1,314 @@
|
|
1
|
+
# ___ ____ __ ___ _________
|
2
|
+
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
|
+
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
|
+
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2012, OGIS-RI Co.,Ltd.
|
6
|
+
#
|
7
|
+
# This file is part of AdLint.
|
8
|
+
#
|
9
|
+
# AdLint is free software: you can redistribute it and/or modify it under the
|
10
|
+
# terms of the GNU General Public License as published by the Free Software
|
11
|
+
# Foundation, either version 3 of the License, or (at your option) any later
|
12
|
+
# version.
|
13
|
+
#
|
14
|
+
# AdLint is distributed in the hope that it will be useful, but WITHOUT ANY
|
15
|
+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
16
|
+
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
17
|
+
#
|
18
|
+
# You should have received a copy of the GNU General Public License along with
|
19
|
+
# AdLint. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
#
|
21
|
+
# How...
|
22
|
+
# - to analyze whole project with compiler like messages
|
23
|
+
# % make all
|
24
|
+
# - to analyze whole project with progress report
|
25
|
+
# % make verbose-all
|
26
|
+
# - to analyze whole project *FAST* on 4-core processor machine
|
27
|
+
# % make -j 4 all
|
28
|
+
# - to analyze whole project *FAST* and silently with elapsed time
|
29
|
+
# % time make -j 4 all 2>/dev/null
|
30
|
+
# - to delete all result files
|
31
|
+
# % make clean
|
32
|
+
#
|
33
|
+
|
34
|
+
ADLINT_CMA = adlint_cma
|
35
|
+
ADLINT_CMA_FLAGS = -t adlint_traits.yml -o .
|
36
|
+
|
37
|
+
SMA_MET_FILES = \
|
38
|
+
core/ruby-1.9.3-p0/main.c.met.csv \
|
39
|
+
core/ruby-1.9.3-p0/dmydln.c.met.csv \
|
40
|
+
core/ruby-1.9.3-p0/dmyencoding.c.met.csv \
|
41
|
+
core/ruby-1.9.3-p0/version.c.met.csv \
|
42
|
+
core/ruby-1.9.3-p0/dmyversion.c.met.csv \
|
43
|
+
core/ruby-1.9.3-p0/miniprelude.c.met.csv \
|
44
|
+
core/ruby-1.9.3-p0/array.c.met.csv \
|
45
|
+
core/ruby-1.9.3-p0/bignum.c.met.csv \
|
46
|
+
core/ruby-1.9.3-p0/class.c.met.csv \
|
47
|
+
core/ruby-1.9.3-p0/compar.c.met.csv \
|
48
|
+
core/ruby-1.9.3-p0/complex.c.met.csv \
|
49
|
+
core/ruby-1.9.3-p0/dir.c.met.csv \
|
50
|
+
core/ruby-1.9.3-p0/dln_find.c.met.csv \
|
51
|
+
core/ruby-1.9.3-p0/enum.c.met.csv \
|
52
|
+
core/ruby-1.9.3-p0/enumerator.c.met.csv \
|
53
|
+
core/ruby-1.9.3-p0/error.c.met.csv \
|
54
|
+
core/ruby-1.9.3-p0/eval.c.met.csv \
|
55
|
+
core/ruby-1.9.3-p0/load.c.met.csv \
|
56
|
+
core/ruby-1.9.3-p0/proc.c.met.csv \
|
57
|
+
core/ruby-1.9.3-p0/file.c.met.csv \
|
58
|
+
core/ruby-1.9.3-p0/gc.c.met.csv \
|
59
|
+
core/ruby-1.9.3-p0/hash.c.met.csv \
|
60
|
+
core/ruby-1.9.3-p0/inits.c.met.csv \
|
61
|
+
core/ruby-1.9.3-p0/io.c.met.csv \
|
62
|
+
core/ruby-1.9.3-p0/marshal.c.met.csv \
|
63
|
+
core/ruby-1.9.3-p0/math.c.met.csv \
|
64
|
+
core/ruby-1.9.3-p0/node.c.met.csv \
|
65
|
+
core/ruby-1.9.3-p0/numeric.c.met.csv \
|
66
|
+
core/ruby-1.9.3-p0/object.c.met.csv \
|
67
|
+
core/ruby-1.9.3-p0/pack.c.met.csv \
|
68
|
+
core/ruby-1.9.3-p0/parse.c.met.csv \
|
69
|
+
core/ruby-1.9.3-p0/process.c.met.csv \
|
70
|
+
core/ruby-1.9.3-p0/random.c.met.csv \
|
71
|
+
core/ruby-1.9.3-p0/range.c.met.csv \
|
72
|
+
core/ruby-1.9.3-p0/rational.c.met.csv \
|
73
|
+
core/ruby-1.9.3-p0/re.c.met.csv \
|
74
|
+
core/ruby-1.9.3-p0/regcomp.c.met.csv \
|
75
|
+
core/ruby-1.9.3-p0/regenc.c.met.csv \
|
76
|
+
core/ruby-1.9.3-p0/regerror.c.met.csv \
|
77
|
+
core/ruby-1.9.3-p0/regexec.c.met.csv \
|
78
|
+
core/ruby-1.9.3-p0/regparse.c.met.csv \
|
79
|
+
core/ruby-1.9.3-p0/regsyntax.c.met.csv \
|
80
|
+
core/ruby-1.9.3-p0/ruby.c.met.csv \
|
81
|
+
core/ruby-1.9.3-p0/safe.c.met.csv \
|
82
|
+
core/ruby-1.9.3-p0/signal.c.met.csv \
|
83
|
+
core/ruby-1.9.3-p0/sprintf.c.met.csv \
|
84
|
+
core/ruby-1.9.3-p0/st.c.met.csv \
|
85
|
+
core/ruby-1.9.3-p0/strftime.c.met.csv \
|
86
|
+
core/ruby-1.9.3-p0/string.c.met.csv \
|
87
|
+
core/ruby-1.9.3-p0/struct.c.met.csv \
|
88
|
+
core/ruby-1.9.3-p0/time.c.met.csv \
|
89
|
+
core/ruby-1.9.3-p0/transcode.c.met.csv \
|
90
|
+
core/ruby-1.9.3-p0/util.c.met.csv \
|
91
|
+
core/ruby-1.9.3-p0/variable.c.met.csv \
|
92
|
+
core/ruby-1.9.3-p0/compile.c.met.csv \
|
93
|
+
core/ruby-1.9.3-p0/debug.c.met.csv \
|
94
|
+
core/ruby-1.9.3-p0/iseq.c.met.csv \
|
95
|
+
core/ruby-1.9.3-p0/vm.c.met.csv \
|
96
|
+
core/ruby-1.9.3-p0/vm_dump.c.met.csv \
|
97
|
+
core/ruby-1.9.3-p0/thread.c.met.csv \
|
98
|
+
core/ruby-1.9.3-p0/cont.c.met.csv \
|
99
|
+
core/ruby-1.9.3-p0/enc/ascii.c.met.csv \
|
100
|
+
core/ruby-1.9.3-p0/enc/us_ascii.c.met.csv \
|
101
|
+
core/ruby-1.9.3-p0/enc/unicode.c.met.csv \
|
102
|
+
core/ruby-1.9.3-p0/enc/utf_8.c.met.csv \
|
103
|
+
core/ruby-1.9.3-p0/newline.c.met.csv \
|
104
|
+
core/ruby-1.9.3-p0/missing/strlcpy.c.met.csv \
|
105
|
+
core/ruby-1.9.3-p0/missing/strlcat.c.met.csv \
|
106
|
+
core/ruby-1.9.3-p0/missing/setproctitle.c.met.csv \
|
107
|
+
core/ruby-1.9.3-p0/addr2line.c.met.csv \
|
108
|
+
core/ruby-1.9.3-p0/dmyext.c.met.csv \
|
109
|
+
core/ruby-1.9.3-p0/dln.c.met.csv \
|
110
|
+
core/ruby-1.9.3-p0/encoding.c.met.csv \
|
111
|
+
core/ruby-1.9.3-p0/prelude.c.met.csv \
|
112
|
+
enc/ruby-1.9.3-p0/enc/encdb.c.met.csv \
|
113
|
+
enc/ruby-1.9.3-p0/enc/big5.c.met.csv \
|
114
|
+
enc/ruby-1.9.3-p0/enc/cp949.c.met.csv \
|
115
|
+
enc/ruby-1.9.3-p0/enc/emacs_mule.c.met.csv \
|
116
|
+
enc/ruby-1.9.3-p0/enc/euc_jp.c.met.csv \
|
117
|
+
enc/ruby-1.9.3-p0/enc/euc_kr.c.met.csv \
|
118
|
+
enc/ruby-1.9.3-p0/enc/euc_tw.c.met.csv \
|
119
|
+
enc/ruby-1.9.3-p0/enc/gb2312.c.met.csv \
|
120
|
+
enc/ruby-1.9.3-p0/enc/gb18030.c.met.csv \
|
121
|
+
enc/ruby-1.9.3-p0/enc/gbk.c.met.csv \
|
122
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_1.c.met.csv \
|
123
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_2.c.met.csv \
|
124
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_3.c.met.csv \
|
125
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_4.c.met.csv \
|
126
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_5.c.met.csv \
|
127
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_6.c.met.csv \
|
128
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_7.c.met.csv \
|
129
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_8.c.met.csv \
|
130
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_9.c.met.csv \
|
131
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_10.c.met.csv \
|
132
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_11.c.met.csv \
|
133
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_13.c.met.csv \
|
134
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_14.c.met.csv \
|
135
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_15.c.met.csv \
|
136
|
+
enc/ruby-1.9.3-p0/enc/iso_8859_16.c.met.csv \
|
137
|
+
enc/ruby-1.9.3-p0/enc/koi8_r.c.met.csv \
|
138
|
+
enc/ruby-1.9.3-p0/enc/koi8_u.c.met.csv \
|
139
|
+
enc/ruby-1.9.3-p0/enc/shift_jis.c.met.csv \
|
140
|
+
enc/ruby-1.9.3-p0/enc/utf_16be.c.met.csv \
|
141
|
+
enc/ruby-1.9.3-p0/enc/utf_16le.c.met.csv \
|
142
|
+
enc/ruby-1.9.3-p0/enc/utf_32be.c.met.csv \
|
143
|
+
enc/ruby-1.9.3-p0/enc/utf_32le.c.met.csv \
|
144
|
+
enc/ruby-1.9.3-p0/enc/windows_1251.c.met.csv \
|
145
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/transdb.c.met.csv \
|
146
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/big5.c.met.csv \
|
147
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/chinese.c.met.csv \
|
148
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/emoji.c.met.csv \
|
149
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/emoji_iso2022_kddi.c.met.csv \
|
150
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/emoji_sjis_docomo.c.met.csv \
|
151
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/emoji_sjis_kddi.c.met.csv \
|
152
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/emoji_sjis_softbank.c.met.csv \
|
153
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/escape.c.met.csv \
|
154
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/gb18030.c.met.csv \
|
155
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/gbk.c.met.csv \
|
156
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/iso2022.c.met.csv \
|
157
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/japanese.c.met.csv \
|
158
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/japanese_euc.c.met.csv \
|
159
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/japanese_sjis.c.met.csv \
|
160
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/korean.c.met.csv \
|
161
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/single_byte.c.met.csv \
|
162
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/utf8_mac.c.met.csv \
|
163
|
+
enc-trans/ruby-1.9.3-p0/enc/trans/utf_16_32.c.met.csv \
|
164
|
+
ext-bigdecimal/ruby-1.9.3-p0/ext/bigdecimal/bigdecimal.c.met.csv \
|
165
|
+
ext-continuation/ruby-1.9.3-p0/ext/continuation/continuation.c.met.csv \
|
166
|
+
ext-coverage/ruby-1.9.3-p0/ext/coverage/coverage.c.met.csv \
|
167
|
+
ext-curses/ruby-1.9.3-p0/ext/curses/curses.c.met.csv \
|
168
|
+
ext-date/ruby-1.9.3-p0/ext/date/date_strptime.c.met.csv \
|
169
|
+
ext-date/ruby-1.9.3-p0/ext/date/date_strftime.c.met.csv \
|
170
|
+
ext-date/ruby-1.9.3-p0/ext/date/date_core.c.met.csv \
|
171
|
+
ext-date/ruby-1.9.3-p0/ext/date/date_parse.c.met.csv \
|
172
|
+
ext-dbm/ruby-1.9.3-p0/ext/dbm/dbm.c.met.csv \
|
173
|
+
ext-digest/ruby-1.9.3-p0/ext/digest/digest.c.met.csv \
|
174
|
+
ext-digest-bubblebabble/ruby-1.9.3-p0/ext/digest/bubblebabble/bubblebabble.c.met.csv \
|
175
|
+
ext-digest-md5/ruby-1.9.3-p0/ext/digest/md5/md5init.c.met.csv \
|
176
|
+
ext-digest-md5/ruby-1.9.3-p0/ext/digest/md5/md5ossl.c.met.csv \
|
177
|
+
ext-digest-rmd160/ruby-1.9.3-p0/ext/digest/rmd160/rmd160init.c.met.csv \
|
178
|
+
ext-digest-rmd160/ruby-1.9.3-p0/ext/digest/rmd160/rmd160ossl.c.met.csv \
|
179
|
+
ext-digest-sha1/ruby-1.9.3-p0/ext/digest/sha1/sha1init.c.met.csv \
|
180
|
+
ext-digest-sha1/ruby-1.9.3-p0/ext/digest/sha1/sha1ossl.c.met.csv \
|
181
|
+
ext-digest-sha2/ruby-1.9.3-p0/ext/digest/sha2/sha2init.c.met.csv \
|
182
|
+
ext-digest-sha2/ruby-1.9.3-p0/ext/digest/sha2/sha2ossl.c.met.csv \
|
183
|
+
ext-dl/ruby-1.9.3-p0/ext/dl/dl.c.met.csv \
|
184
|
+
ext-dl/ruby-1.9.3-p0/ext/dl/cptr.c.met.csv \
|
185
|
+
ext-dl/ruby-1.9.3-p0/ext/dl/cfunc.c.met.csv \
|
186
|
+
ext-dl/ruby-1.9.3-p0/ext/dl/handle.c.met.csv \
|
187
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback.c.met.csv \
|
188
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-0.c.met.csv \
|
189
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-1.c.met.csv \
|
190
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-2.c.met.csv \
|
191
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-3.c.met.csv \
|
192
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-4.c.met.csv \
|
193
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-5.c.met.csv \
|
194
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-6.c.met.csv \
|
195
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-7.c.met.csv \
|
196
|
+
ext-dl-callback/ruby-1.9.3-p0/ext/dl/callback/callback-8.c.met.csv \
|
197
|
+
ext-etc/ruby-1.9.3-p0/ext/etc/etc.c.met.csv \
|
198
|
+
ext-fcntl/ruby-1.9.3-p0/ext/fcntl/fcntl.c.met.csv \
|
199
|
+
ext-fiber/ruby-1.9.3-p0/ext/fiber/fiber.c.met.csv \
|
200
|
+
ext-fiddle/ruby-1.9.3-p0/ext/fiddle/closure.c.met.csv \
|
201
|
+
ext-fiddle/ruby-1.9.3-p0/ext/fiddle/function.c.met.csv \
|
202
|
+
ext-fiddle/ruby-1.9.3-p0/ext/fiddle/conversions.c.met.csv \
|
203
|
+
ext-fiddle/ruby-1.9.3-p0/ext/fiddle/fiddle.c.met.csv \
|
204
|
+
ext-gdbm/ruby-1.9.3-p0/ext/gdbm/gdbm.c.met.csv \
|
205
|
+
ext-iconv/ruby-1.9.3-p0/ext/iconv/iconv.c.met.csv \
|
206
|
+
ext-io-console/ruby-1.9.3-p0/ext/io/console/console.c.met.csv \
|
207
|
+
ext-io-nonblock/ruby-1.9.3-p0/ext/io/nonblock/nonblock.c.met.csv \
|
208
|
+
ext-io-wait/ruby-1.9.3-p0/ext/io/wait/wait.c.met.csv \
|
209
|
+
ext-json-generator/ruby-1.9.3-p0/ext/json/generator/generator.c.met.csv \
|
210
|
+
ext-json-parser/ruby-1.9.3-p0/ext/json/parser/parser.c.met.csv \
|
211
|
+
ext-mathn-complex/ruby-1.9.3-p0/ext/mathn/complex/complex.c.met.csv \
|
212
|
+
ext-mathn-rational/ruby-1.9.3-p0/ext/mathn/rational/rational.c.met.csv \
|
213
|
+
ext-nkf/ruby-1.9.3-p0/ext/nkf/nkf.c.met.csv \
|
214
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_rand.c.met.csv \
|
215
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_ocsp.c.met.csv \
|
216
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkey_dh.c.met.csv \
|
217
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509revoked.c.met.csv \
|
218
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/openssl_missing.c.met.csv \
|
219
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkcs12.c.met.csv \
|
220
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl.c.met.csv \
|
221
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkey_ec.c.met.csv \
|
222
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509name.c.met.csv \
|
223
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_ns_spki.c.met.csv \
|
224
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_ssl_session.c.met.csv \
|
225
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkey_rsa.c.met.csv \
|
226
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkcs7.c.met.csv \
|
227
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_ssl.c.met.csv \
|
228
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_hmac.c.met.csv \
|
229
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_bio.c.met.csv \
|
230
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkcs5.c.met.csv \
|
231
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509req.c.met.csv \
|
232
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509store.c.met.csv \
|
233
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509cert.c.met.csv \
|
234
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_cipher.c.met.csv \
|
235
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_digest.c.met.csv \
|
236
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_config.c.met.csv \
|
237
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_bn.c.met.csv \
|
238
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509attr.c.met.csv \
|
239
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509.c.met.csv \
|
240
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509crl.c.met.csv \
|
241
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_x509ext.c.met.csv \
|
242
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_asn1.c.met.csv \
|
243
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_engine.c.met.csv \
|
244
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkey_dsa.c.met.csv \
|
245
|
+
ext-openssl/ruby-1.9.3-p0/ext/openssl/ossl_pkey.c.met.csv \
|
246
|
+
ext-pathname/ruby-1.9.3-p0/ext/pathname/pathname.c.met.csv \
|
247
|
+
ext-psych/ruby-1.9.3-p0/ext/psych/psych.c.met.csv \
|
248
|
+
ext-psych/ruby-1.9.3-p0/ext/psych/yaml_tree.c.met.csv \
|
249
|
+
ext-psych/ruby-1.9.3-p0/ext/psych/parser.c.met.csv \
|
250
|
+
ext-psych/ruby-1.9.3-p0/ext/psych/emitter.c.met.csv \
|
251
|
+
ext-psych/ruby-1.9.3-p0/ext/psych/to_ruby.c.met.csv \
|
252
|
+
ext-pty/ruby-1.9.3-p0/ext/pty/pty.c.met.csv \
|
253
|
+
ext-racc-cparse/ruby-1.9.3-p0/ext/racc/cparse/cparse.c.met.csv \
|
254
|
+
ext-readline/ruby-1.9.3-p0/ext/readline/readline.c.met.csv \
|
255
|
+
ext-ripper/ruby-1.9.3-p0/ext/ripper/ripper.c.met.csv \
|
256
|
+
ext-sdbm/ruby-1.9.3-p0/ext/sdbm/init.c.met.csv \
|
257
|
+
ext-sdbm/ruby-1.9.3-p0/ext/sdbm/_sdbm.c.met.csv \
|
258
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/init.c.met.csv \
|
259
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/constants.c.met.csv \
|
260
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/basicsocket.c.met.csv \
|
261
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/socket.c.met.csv \
|
262
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/ipsocket.c.met.csv \
|
263
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/tcpsocket.c.met.csv \
|
264
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/tcpserver.c.met.csv \
|
265
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/sockssocket.c.met.csv \
|
266
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/udpsocket.c.met.csv \
|
267
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/unixsocket.c.met.csv \
|
268
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/unixserver.c.met.csv \
|
269
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/option.c.met.csv \
|
270
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/ancdata.c.met.csv \
|
271
|
+
ext-socket/ruby-1.9.3-p0/ext/socket/raddrinfo.c.met.csv \
|
272
|
+
ext-stringio/ruby-1.9.3-p0/ext/stringio/stringio.c.met.csv \
|
273
|
+
ext-strscan/ruby-1.9.3-p0/ext/strscan/strscan.c.met.csv \
|
274
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/gram.c.met.csv \
|
275
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/handler.c.met.csv \
|
276
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/implicit.c.met.csv \
|
277
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/node.c.met.csv \
|
278
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/token.c.met.csv \
|
279
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/yaml2byte.c.met.csv \
|
280
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/emitter.c.met.csv \
|
281
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/bytecode.c.met.csv \
|
282
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/syck.c.met.csv \
|
283
|
+
ext-syck/ruby-1.9.3-p0/ext/syck/rubyext.c.met.csv \
|
284
|
+
ext-syslog/ruby-1.9.3-p0/ext/syslog/syslog.c.met.csv \
|
285
|
+
ext-zlib/ruby-1.9.3-p0/ext/zlib/zlib.c.met.csv
|
286
|
+
|
287
|
+
%.c.met.csv :
|
288
|
+
@$(MAKE) -C `echo $@ | sed 's/\/.*$$//'` `echo $@ | sed 's/^[^/]\+\///'`
|
289
|
+
|
290
|
+
CMA_MSG_FILE = ruby-1.9.3-p0.msg.csv
|
291
|
+
CMA_MET_FILE = ruby-1.9.3-p0.met.csv
|
292
|
+
CMA_LOG_FILE = ruby-1.9.3-p0.log
|
293
|
+
|
294
|
+
.PHONY: all
|
295
|
+
all : $(SMA_MET_FILES)
|
296
|
+
$(ADLINT_CMA) $(ADLINT_CMA_FLAGS) $(SMA_MET_FILES)
|
297
|
+
|
298
|
+
.PHONY: verbose-all
|
299
|
+
verbose-all :
|
300
|
+
@for f in $(SMA_MET_FILES); do \
|
301
|
+
dir=`echo $$f | sed 's/\/.*$$//'`; \
|
302
|
+
if [ "$$last_dir" != "$$dir" ]; then $(MAKE) -C $$dir verbose-sma-only; fi; \
|
303
|
+
last_dir=$$dir; \
|
304
|
+
done
|
305
|
+
$(ADLINT_CMA) $(ADLINT_CMA_FLAGS) -v $(SMA_MET_FILES)
|
306
|
+
|
307
|
+
.PHONY: clean
|
308
|
+
clean :
|
309
|
+
@for f in $(SMA_MET_FILES); do \
|
310
|
+
dir=`echo $$f | sed 's/\/.*$$//'`; \
|
311
|
+
if [ "$$last_dir" != "$$dir" ]; then $(MAKE) -C $$dir clean; fi; \
|
312
|
+
last_dir=$$dir; \
|
313
|
+
done
|
314
|
+
@$(RM) $(CMA_MSG_FILE) $(CMA_MET_FILE) $(CMA_LOG_FILE)
|
@@ -0,0 +1,225 @@
|
|
1
|
+
# ___ ____ __ ___ _________
|
2
|
+
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
|
+
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
|
+
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2012, OGIS-RI Co.,Ltd.
|
6
|
+
#
|
7
|
+
# This file is part of AdLint.
|
8
|
+
#
|
9
|
+
# AdLint is free software: you can redistribute it and/or modify it under the
|
10
|
+
# terms of the GNU General Public License as published by the Free Software
|
11
|
+
# Foundation, either version 3 of the License, or (at your option) any later
|
12
|
+
# version.
|
13
|
+
#
|
14
|
+
# AdLint is distributed in the hope that it will be useful, but WITHOUT ANY
|
15
|
+
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
16
|
+
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
17
|
+
#
|
18
|
+
# You should have received a copy of the GNU General Public License along with
|
19
|
+
# AdLint. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
#
|
21
|
+
|
22
|
+
# Schema version of the traits file.
|
23
|
+
# DO NOT EDIT MANUALLY!
|
24
|
+
version: "1.0.0"
|
25
|
+
|
26
|
+
#
|
27
|
+
# Project specific traits section
|
28
|
+
#
|
29
|
+
project_traits:
|
30
|
+
|
31
|
+
# Project name.
|
32
|
+
project_name: "ruby-1.9.3-p0"
|
33
|
+
|
34
|
+
# Project specific additional include paths.
|
35
|
+
# Ex.
|
36
|
+
# include_path:
|
37
|
+
# - "include/foo"
|
38
|
+
# - "../include/bar"
|
39
|
+
# - "/opt/baz/include"
|
40
|
+
include_path:
|
41
|
+
|
42
|
+
# Pathname of the project specific initial header file.
|
43
|
+
# This header file is automatically included above the first line of the
|
44
|
+
# target source file.
|
45
|
+
initial_header:
|
46
|
+
|
47
|
+
#
|
48
|
+
# Project specific coding style section
|
49
|
+
#
|
50
|
+
coding_style:
|
51
|
+
|
52
|
+
# Indent style which is a convention governing the identation of blocks.
|
53
|
+
# Select from "K&R", "Allman" and "GNU".
|
54
|
+
#
|
55
|
+
# The value "K&R" means...
|
56
|
+
# int foo(int i)
|
57
|
+
# {
|
58
|
+
# if (i == 0) {
|
59
|
+
# return 0;
|
60
|
+
# }
|
61
|
+
# return i;
|
62
|
+
# }
|
63
|
+
#
|
64
|
+
# The value "Allman" means...
|
65
|
+
# int foo(int i)
|
66
|
+
# {
|
67
|
+
# if (i == 0)
|
68
|
+
# {
|
69
|
+
# return 0;
|
70
|
+
# }
|
71
|
+
# return i;
|
72
|
+
# }
|
73
|
+
#
|
74
|
+
# The value "GNU" means...
|
75
|
+
# int
|
76
|
+
# foo(int i)
|
77
|
+
# {
|
78
|
+
# if (i == 0)
|
79
|
+
# {
|
80
|
+
# return 0;
|
81
|
+
# }
|
82
|
+
# return i;
|
83
|
+
# }
|
84
|
+
indent_style: "K&R"
|
85
|
+
|
86
|
+
# Appearance width of a TAB character.
|
87
|
+
tab_width: 8
|
88
|
+
|
89
|
+
# Appearance width of 1-level of the indentation.
|
90
|
+
indent_width: 4
|
91
|
+
|
92
|
+
# Character encoding of source files.
|
93
|
+
file_encoding:
|
94
|
+
|
95
|
+
#
|
96
|
+
# Compiler specific traits section
|
97
|
+
#
|
98
|
+
compiler_traits:
|
99
|
+
|
100
|
+
# Pathname of the compiler specific initial header file.
|
101
|
+
# This header file is automatically included above the first line of the
|
102
|
+
# project specific initial header file.
|
103
|
+
initial_header:
|
104
|
+
|
105
|
+
#
|
106
|
+
# Compiler specific standard type section
|
107
|
+
#
|
108
|
+
standard_type:
|
109
|
+
|
110
|
+
# Bit size of the `char' type family.
|
111
|
+
char_size: 8
|
112
|
+
# Bit size of the alignment of the `char' type family.
|
113
|
+
char_alignment: 8
|
114
|
+
|
115
|
+
# Bit size of the `short' type family.
|
116
|
+
short_size: 16
|
117
|
+
# Bit size of the alignment of the `short' type family.
|
118
|
+
short_alignment: 16
|
119
|
+
|
120
|
+
# Bit size of the `int' type family.
|
121
|
+
int_size: 32
|
122
|
+
# Bit size of the alignment of the `int' type family.
|
123
|
+
int_alignment: 32
|
124
|
+
|
125
|
+
# Bit size of the `long int' type family.
|
126
|
+
long_size: 32
|
127
|
+
# Bit size of the alignment of the `long int' type family.
|
128
|
+
long_alignment: 32
|
129
|
+
|
130
|
+
# Bit size of the `long long int' type family.
|
131
|
+
long_long_size: 64
|
132
|
+
# Bit size of the alignment of the `long long int' type family.
|
133
|
+
long_long_alignment: 64
|
134
|
+
|
135
|
+
# Bit size of the `float' type.
|
136
|
+
float_size: 32
|
137
|
+
# Bit size of the alignment of the `float' type.
|
138
|
+
float_alignment: 32
|
139
|
+
|
140
|
+
# Bit size of the `double' type.
|
141
|
+
double_size: 64
|
142
|
+
# Bit size of the alignment of the `double' type.
|
143
|
+
double_alignment: 64
|
144
|
+
|
145
|
+
# Bit size of the `long double' type.
|
146
|
+
long_double_size: 96
|
147
|
+
# Bit size of the alignment of the `long double' type.
|
148
|
+
long_double_alignment: 96
|
149
|
+
|
150
|
+
# Bit size of the pointer to functions.
|
151
|
+
code_ptr_size: 32
|
152
|
+
# Bit size of the alignment of the pointer to functions.
|
153
|
+
code_ptr_alignment: 32
|
154
|
+
|
155
|
+
# Bit size of the pointer to data.
|
156
|
+
data_ptr_size: 32
|
157
|
+
# Bit size of the alignment of the pointer to data.
|
158
|
+
data_ptr_alignment: 32
|
159
|
+
|
160
|
+
# Treat the `char' type as same as the `unsigned char' type?
|
161
|
+
char_as_unsigned_char: true
|
162
|
+
|
163
|
+
# Compiler specific include paths.
|
164
|
+
# Ex.
|
165
|
+
# include_path:
|
166
|
+
# - "/usr/include"
|
167
|
+
# - "/usr/local/include"
|
168
|
+
include_path:
|
169
|
+
|
170
|
+
# Treat the `>>' operator as a logical shift, not an arithmetic shift?
|
171
|
+
arithmetic:
|
172
|
+
logical_right_shift: true
|
173
|
+
|
174
|
+
# Token substitution setting to warn the use of compiler specific extensions.
|
175
|
+
#
|
176
|
+
# If your compiler supports `__attribute__(...)' extension and you want to
|
177
|
+
# know the use of this extension, specify as below.
|
178
|
+
# extension_substitution:
|
179
|
+
# "__attribute__(__adlint__any)": ""
|
180
|
+
# The token sequence consists of `__attribute__', `(', any kind of tokens,
|
181
|
+
# `)' will be replaced with nothing (erased) after the preprocessing phase.
|
182
|
+
# And this substitution will be warned by the message W0061.
|
183
|
+
extension_substitution:
|
184
|
+
|
185
|
+
# Token substitution setting to silently ignore the use of compiler specific
|
186
|
+
# extensions.
|
187
|
+
#
|
188
|
+
# If your compiler supports `__asm__ volatile (...)' extension and you do not
|
189
|
+
# mind the use of this extension, specify as below.
|
190
|
+
# arbitrary_substitution:
|
191
|
+
# "__asm__ __adlint__any(__adlint__any)": ""
|
192
|
+
# The token sequence consists of `__asm__', any kind of tokens, `(', any kind
|
193
|
+
# of tokens, `)' will be replaced with nothing (erased) silently after the
|
194
|
+
# preprocessing phase.
|
195
|
+
arbitrary_substitution:
|
196
|
+
|
197
|
+
# Max length of all symbols can be identified by the compiler.
|
198
|
+
identifier_max: 128
|
199
|
+
|
200
|
+
#
|
201
|
+
# Linker specific traits section
|
202
|
+
#
|
203
|
+
linker_traits:
|
204
|
+
|
205
|
+
# Max length of external symbols can be identified by the linker.
|
206
|
+
identifier_max: 128
|
207
|
+
|
208
|
+
# Are external symbols identified without case by the linker?
|
209
|
+
identifier_ignore_case: false
|
210
|
+
|
211
|
+
#
|
212
|
+
# Message traits section
|
213
|
+
#
|
214
|
+
message_traits:
|
215
|
+
|
216
|
+
# Language of the message text.
|
217
|
+
# Currently, "en_US" and "ja_JP" are supported.
|
218
|
+
# Please help to translate the message catalog into your language.
|
219
|
+
language: "ja_JP"
|
220
|
+
|
221
|
+
# Message text replacement.
|
222
|
+
# Ex.
|
223
|
+
# change_list:
|
224
|
+
# W9999: "Your custom message for the warning of #9999."
|
225
|
+
change_list:
|