├── .gitignore ├── .stack-dir.oink-stack ├── Contributors ├── 2013-09-05-Pippijn-van-Steenhoven └── 2013-11-18-Robert-Michael-Walsh ├── Makefile ├── README ├── StackRepositories.list ├── admin └── prat-config.py ├── ast ├── .gdbinit ├── .gitignore ├── License.txt ├── Makefile.in ├── agramlex.lex ├── agrampar.cc ├── agrampar.codes.h ├── agrampar.h ├── agrampar.tab.cc ├── agrampar.tab.h ├── agrampar.y ├── ast.ast ├── ast.ast.cc ├── ast.ast.h ├── ast.hand.cc ├── ast.hand.h ├── astgen.cc ├── asthelp.cc ├── asthelp.h ├── ccsstr.cc ├── ccsstr.h ├── configure ├── configure.pl ├── demo.ast ├── embedded.cc ├── embedded.h ├── example.ast ├── exampletest.cc ├── ext1.ast ├── fakelist.h ├── fileloc.cc ├── fileloc.h ├── gramlex.cc ├── gramlex.h ├── index.html ├── locstr.cc ├── locstr.h ├── manual.html ├── readme.txt ├── reporterr.cc ├── reporterr.h ├── tiny.ast ├── towner.cc ├── xmlhelp.cc └── xmlhelp.h ├── cgi-bin ├── Makefile └── update ├── configure ├── configure.pl ├── elkhound ├── .gitignore ├── License.txt ├── Makefile.in ├── algorithm.html ├── asfsdf │ ├── DeclExpr.sdf │ ├── EEb.sdf │ ├── EFa.sdf │ ├── Makefile │ ├── SSSx.sdf │ ├── SSx.sdf │ ├── eeb.notree.perf.txt │ ├── eeb.perf.txt │ ├── efa.notree.perf.csv │ ├── efa.notree.perf.txt │ ├── efa.perf.csv │ ├── efa.perf.txt │ ├── sssx.notree.perf.txt │ ├── sssx.perf.txt │ ├── ssx.notree.perf.txt │ └── ssx.perf.txt ├── asockind.cc ├── asockind.h ├── c.in │ ├── c.in0 │ ├── c.in1 │ ├── c.in10 │ ├── c.in11 │ ├── c.in12 │ ├── c.in2 │ ├── c.in2.c │ ├── c.in3 │ ├── c.in4 │ ├── c.in4b │ ├── c.in5 │ ├── c.in6 │ ├── c.in7 │ ├── c.in8 │ └── c.in9 ├── c │ ├── Makefile.in │ ├── bcparse.cc │ ├── bcparse.h │ ├── c.ast │ ├── c.gr │ ├── c_env.cc │ ├── c_env.h │ ├── c_type.cc │ ├── c_type.h │ ├── c_variable.cc │ ├── c_variable.h │ ├── cc_flags.cc │ ├── cc_flags.h │ ├── cc_lang.cc │ ├── cc_lang.h │ ├── configure │ ├── configure.pl │ ├── cparse.cc │ ├── cparse.h │ ├── exprequal.cc │ ├── exprequal.h │ ├── exprvisit.cc │ ├── exprvisit.h │ ├── lexer1.cc │ ├── lexer1.h │ ├── lexer1.lex │ ├── lexer1yy.cc │ ├── lexer2.cc │ ├── lexer2.h │ ├── main.cc │ ├── parssppt.cc │ ├── parssppt.h │ ├── paths.cc │ ├── paths.h │ ├── postorder.cc │ ├── stubs.cc │ ├── tcheck.cc │ ├── treeout.cc │ └── treeout.h ├── cc2 │ ├── License.txt │ ├── Makefile │ ├── cc2.gr │ ├── cc2main.cc │ ├── test.cc │ └── testprog.cc ├── cdecl2.gr ├── configure ├── configure.pl ├── cyctimer.cc ├── cyctimer.h ├── emitcode.cc ├── emitcode.h ├── examples │ ├── arith │ │ ├── Makefile.in │ │ ├── arith.cc │ │ ├── arith.gr │ │ ├── arith.h │ │ ├── arith.lex │ │ ├── arithyy.cc │ │ ├── configure │ │ └── configure.pl │ ├── asu419.gr │ ├── cc_eeb.cc │ ├── cc_eeb.gr │ ├── cc_eeb.h │ ├── cdecl │ │ ├── Makefile │ │ └── cdecl.gr │ ├── cexp │ │ ├── Makefile │ │ ├── cexp3.gr │ │ ├── cexp3ast.ast │ │ └── cexp3mrg.cc │ ├── crash1.gr │ ├── gcom │ │ ├── Makefile │ │ ├── eval.cc │ │ ├── eval.h │ │ ├── gcom.ast │ │ ├── gcom.gr │ │ ├── in1 │ │ ├── in2 │ │ ├── in3 │ │ ├── lexer.cc │ │ ├── lexer.h │ │ └── parser.cc │ ├── gcom1 │ │ ├── Makefile │ │ ├── gcom.gr │ │ ├── lexer.cc │ │ ├── lexer.h │ │ └── parser.cc │ ├── gcom2 │ │ └── parser.cc │ ├── gcom3 │ │ └── gcom.gr │ ├── gcom4 │ │ ├── Makefile │ │ ├── gcom.gr │ │ ├── lexer.cc │ │ ├── lexer.h │ │ └── parser.cc │ ├── gcom5 │ │ ├── Makefile │ │ ├── gcom.gr │ │ ├── lexer.cc │ │ ├── lexer.h │ │ └── parser.cc │ ├── gcom7 │ │ ├── Makefile │ │ ├── eval.cc │ │ ├── eval.h │ │ ├── gcom.ast │ │ ├── gcom.gr │ │ ├── lexer.cc │ │ ├── lexer.h │ │ └── parser.cc │ └── scannerless │ │ ├── Makefile │ │ ├── main.cc │ │ └── sless.gr ├── extradep.mk ├── faq.html ├── ffollow.gr ├── ffollow_ext.gr ├── find-extra-deps ├── flatutil.h ├── forbid.gr ├── genml.cc ├── genml.h ├── glr.cc ├── glr.h ├── glrconfig.h.in ├── glrmain.cc ├── gramanl.cc ├── gramanl.h ├── gramast.ast ├── gramast.cc ├── gramast.h ├── gramexpl.cc ├── gramlex.lex ├── grammar.cc ├── grammar.h ├── grammar.txt ├── grampar.cc ├── grampar.codes.h ├── grampar.h ├── grampar.tab.cc ├── grampar.tab.h ├── grampar.y ├── in │ ├── L1.in1 │ ├── asu419.in │ ├── bb10.c │ ├── bb100.c │ ├── bb1000.c │ ├── bb12.c │ ├── bb14.c │ ├── bb16.c │ ├── bb18.c │ ├── bb20.c │ ├── bb200.c │ ├── bb300.c │ ├── bb400.c │ ├── bb5.c │ ├── bb50.c │ ├── bb500.c │ ├── bb6.c │ ├── bb7.c │ ├── bb8.c │ ├── bb9.c │ ├── bsort.c.in4 │ ├── castprob.in1 │ ├── castprob.in2 │ ├── cc.in1 │ ├── cc.in2 │ ├── cc.in3 │ ├── cc.in4 │ ├── cc.in5 │ ├── cc.in6 │ ├── cdecl.in1 │ ├── cexp.in1 │ ├── cexp2.in2 │ ├── cexp3.in1 │ ├── cexp3.in2 │ ├── expr.in1 │ ├── ffollow.in1 │ ├── gramlex.in1 │ ├── gramlex.in2 │ ├── gramlex.in3 │ ├── lexer2.in1 │ ├── mem.in1 │ ├── mem.in2 │ ├── mem.in3 │ ├── pc_keyb.i │ ├── qpsmall.i │ ├── qsort.c.in5 │ └── ssh-add2.c ├── index.html ├── lexerint.h ├── make-lrtable-graph ├── make-tok ├── make-trivparser.pl ├── manual.html ├── mkdist ├── mlsstr.cc ├── mlsstr.h ├── ocaml │ ├── Makefile │ ├── arith.gr │ ├── arraystack.ml │ ├── een.gr │ ├── glr.ml │ ├── lexer.mll │ ├── lexerint.ml │ ├── lrparse.ml │ ├── main.ml │ ├── objpool.ml │ ├── oc_arith.mly │ ├── occ2 │ │ ├── Makefile │ │ ├── lexer.mll │ │ ├── occ2.gr │ │ └── tokens.h │ ├── parsetables.ml │ ├── ptreeact.ml │ ├── ptreenode.ml │ ├── smutil.ml │ ├── tobjpool.ml │ └── useract.ml ├── out │ ├── c.out1 │ ├── c.out2 │ ├── c.out3 │ ├── castprob.out1 │ ├── cdecl.out1 │ ├── expr.out1 │ └── ffollow.out1 ├── ownerspec.h ├── parse-linux ├── parse-tests ├── parser.files ├── parsetables.cc ├── parsetables.h ├── parsgen.txt ├── parsstub.cc ├── perf ├── perftest │ ├── history │ ├── test-all │ └── test-ver ├── ptreeact.cc ├── ptreeact.h ├── ptreenode.cc ├── ptreenode.h ├── rcptr.h ├── readme.txt ├── regrtest ├── skeleton.gr ├── ssxmain.cc ├── ssxnode.h ├── tcheck │ ├── addrglob.c │ ├── exprpath.c │ ├── init.c │ ├── loops.c │ └── morepaths.c ├── test-all-config ├── test-ambig-perf ├── test-bad ├── test-mlsstr-on-many ├── toplevel │ ├── License.txt │ ├── Makefile │ ├── configure │ └── readme.txt ├── trcptr.cc ├── triv │ ├── AdB.gr.in │ ├── AdB.in1 │ ├── CAdB.gr.in │ ├── CAdB.in1 │ ├── CNI.gr.in │ ├── CNI.in1 │ ├── DeclExpr.gr.in │ ├── DeclExpr.in1 │ ├── DeclExpr.in10 │ ├── DeclExpr.in100 │ ├── DeclExpr.in1000 │ ├── DeclExpr.in10000 │ ├── DeclExpr.in5 │ ├── DeclExpr.perf.txt │ ├── EEb.gr.in │ ├── EEb.in1 │ ├── EEb.in2 │ ├── EEb.in3 │ ├── EFa.gr.in │ ├── ESb.gr.in │ ├── ESb.in1 │ ├── SSSx.gr.in │ ├── SSx.gr.in │ ├── aSEb.gr.in │ ├── aSEb.in1 │ ├── angle.gr.in │ ├── angle.in1 │ ├── angle.in2 │ ├── angle.in3 │ ├── angle.in4 │ ├── angle.in5 │ ├── eeb.notree.perf.txt │ ├── eeb.perf.txt │ ├── efa.bison.notree.perf.csv │ ├── efa.bison.notree.perf.txt │ ├── efa.bison.tree.perf.csv │ ├── efa.bison.tree.perf.txt │ ├── efa.glronly.notree.perf.csv │ ├── efa.glronly.notree.perf.txt │ ├── efa.glronly.perf.csv │ ├── efa.glronly.perf.txt │ ├── efa.nohybrid.notree.perf.csv │ ├── efa.nohybrid.notree.perf.txt │ ├── efa.nohybrid.perf.csv │ ├── efa.nohybrid.perf.txt │ ├── efa.notree.perf.csv │ ├── efa.notree.perf.txt │ ├── efa.perf.csv │ ├── efa.perf.txt │ ├── ite.gr.in │ ├── ite.in1 │ ├── ite.in2 │ ├── ite.in3 │ ├── ite.in4 │ ├── ite.in5 │ ├── sssx.notree.perf.txt │ ├── sssx.perf.txt │ ├── ssx.notree.perf.txt │ ├── ssx.perf.txt │ ├── testRR.gr.in │ ├── testRR.in1 │ └── testRR.in2 ├── trivbison.cc ├── trivbison.h ├── trivlex.cc ├── trivlex.h ├── trivmain.cc ├── tutorial.html ├── useract.cc ├── useract.h └── util.h ├── elsa ├── .gitignore ├── License.txt ├── Makefile.in ├── apple.h ├── ast_build.cc ├── ast_build.h ├── astvisit.cc ├── astvisit.h ├── astxml_check ├── baselexer.cc ├── baselexer.h ├── bitstrmap.h ├── bpprint.ast ├── bpprint.cc ├── bpprint.h ├── buildint │ ├── extract_section.pl │ ├── install │ ├── interceptor.pl │ ├── interceptor.specs.gcc-2 │ ├── interceptor.specs.gcc-3 │ ├── interceptor.specs.gcc-3.4 │ └── reconstruct-exec.pl ├── builtin-declarations.h ├── builtin-t.h ├── builtinops.cc ├── builtinops.h ├── cc.ast ├── cc.gr ├── cc.lex ├── cc2c.ast ├── cc2c.cc ├── cc2c.h ├── cc2c.txt ├── cc_ast.h ├── cc_ast_aux.cc ├── cc_ast_aux.h ├── cc_elaborate.ast ├── cc_elaborate.cc ├── cc_elaborate.h ├── cc_env.cc ├── cc_env.h ├── cc_err.cc ├── cc_err.h ├── cc_flags.cc ├── cc_flags.h ├── cc_lang.cc ├── cc_lang.h ├── cc_print.ast ├── cc_print.cc ├── cc_print.h ├── cc_scope.cc ├── cc_scope.h ├── cc_tcheck.ast ├── cc_tcheck.cc ├── cc_tokens.tok ├── cc_type.cc ├── cc_type.h ├── ccparse.cc ├── ccparse.h ├── cfg.ast ├── cfg.cc ├── cfg.h ├── chop_out ├── cipart.lex ├── configure ├── configure.pl ├── const_eval.cc ├── const_eval.h ├── cppundolog.cc ├── cppundolog.h ├── crlf.txt ├── doc │ ├── ambiguous_ast.png │ ├── anon-structs.txt │ ├── ast_build.dot │ ├── ast_build.png │ ├── atomic_types.png │ ├── block_diagram.fig │ ├── block_diagram.png │ ├── cc.ast.html │ ├── cc_type.html │ ├── class_templates.png │ ├── coloncolon.txt │ ├── complex.txt │ ├── constructed_types.png │ ├── contributors.html │ ├── convertibility.txt │ ├── cpp_er.html │ ├── declarator.fig │ ├── declarator.html │ ├── declarator.png │ ├── delayed-specialization-committment.txt │ ├── design.html │ ├── er.fig │ ├── er.png │ ├── er.ps │ ├── faq.html │ ├── function_templates.png │ ├── gv-xwd-convert-png │ ├── hex_float_lit.dot │ ├── index.html │ ├── lexer_build.dot │ ├── lexer_build.png │ ├── lookup.txt │ ├── parser_build.dot │ ├── parser_build.png │ ├── permissive.txt │ ├── serialization.txt │ ├── template_er.fig │ ├── template_er.png │ ├── template_er.ps │ ├── tutorial.html │ ├── tutorial_part2.html │ ├── valid-html401.png │ └── variables.png ├── exprloc.h ├── extradep.mk ├── filter_elsa_noise ├── five-errors ├── generic_amb.h ├── generic_aux.h ├── gnu.ast ├── gnu.cc ├── gnu.gr ├── gnu.lex ├── gnu_ext.tok ├── ia64mangle.cc ├── ia64mangle.h ├── id_obj_dict.cc ├── id_obj_dict.h ├── idemcheck ├── implconv.cc ├── implconv.h ├── implint.cc ├── implint.h ├── in │ ├── Makefile │ ├── big │ │ └── gz │ │ │ ├── nonport.i.gz │ │ │ ├── nsAtomTable.i.gz │ │ │ ├── nsCLiveconnectFactory.i.gz │ │ │ ├── nsHTMLEditRules.i.gz │ │ │ ├── nsMsgServiceProvider.i.gz │ │ │ ├── nsSOAPPropertyBag.i.gz │ │ │ ├── nsUnicodeToTeXCMRt1.i.gz │ │ │ └── ostream.i.gz │ ├── c │ │ ├── d0124b.c │ │ ├── dC0010.c │ │ ├── dC0011.c │ │ ├── dC0012.c │ │ ├── dC0013.c │ │ ├── dC0017.c │ │ ├── dC0018.c │ │ ├── dC0019.c │ │ ├── dC0020.c │ │ ├── dC0021.c │ │ ├── dC0022.c │ │ ├── dC0023.c │ │ ├── dC0024.c │ │ ├── dC0025.c │ │ ├── dC0026.c │ │ ├── dC0027.c │ │ ├── dC0028.c │ │ ├── dC0029.c │ │ ├── dC0030.c │ │ ├── dC0031.c │ │ ├── dC0032.c │ │ ├── k0001.c │ │ ├── k0002.c │ │ ├── k0003.c │ │ ├── k0003a.c │ │ ├── k0004.c │ │ ├── k0005.c │ │ ├── k0006.c │ │ ├── k0006a.c │ │ ├── k0007.c │ │ ├── k0008.c │ │ ├── k0009.c │ │ ├── k0010.c │ │ ├── k0011.c │ │ ├── k0012.c │ │ ├── k0013.c │ │ ├── k0014.c │ │ ├── k0015.c │ │ ├── k0016.c │ │ ├── k0017.c │ │ ├── t0001.c │ │ ├── t0002.c │ │ ├── t0003.c │ │ ├── t0004.c │ │ ├── t0005.c │ │ ├── t0006.c │ │ ├── t0007.c │ │ ├── t0008.c │ │ ├── t0009.c │ │ ├── t0010.c │ │ ├── t0011.c │ │ ├── t0012.c │ │ ├── t0013.c │ │ ├── t0014.c │ │ ├── t0015.c │ │ ├── t0016.c │ │ ├── t0017.c │ │ ├── t0018.c │ │ ├── t0019.c │ │ ├── t0020.c │ │ ├── t0021.c │ │ ├── t0022.c │ │ ├── t0023.c │ │ ├── t0024.c │ │ ├── t0025.c │ │ ├── t0026.c │ │ └── t0027.c │ ├── c99 │ │ ├── d0077.c │ │ ├── n0001.c │ │ ├── n0002.c │ │ └── t0133.c │ ├── d0001.cc │ ├── d0002.cc │ ├── d0003.cc │ ├── d0004.cc │ ├── d0005.cc │ ├── d0006.cc │ ├── d0007.cc │ ├── d0008.cc │ ├── d0009.cc │ ├── d0010.cc │ ├── d0011.cc │ ├── d0012.cc │ ├── d0013.cc │ ├── d0014.cc │ ├── d0015.cc │ ├── d0016.cc │ ├── d0017.cc │ ├── d0018.cc │ ├── d0019.cc │ ├── d0020.cc │ ├── d0021.cc │ ├── d0022.cc │ ├── d0023.cc │ ├── d0024.cc │ ├── d0025.cc │ ├── d0026.cc │ ├── d0027.cc │ ├── d0028.cc │ ├── d0029.cc │ ├── d0030.cc │ ├── d0031.cc │ ├── d0032.cc │ ├── d0034.cc │ ├── d0035.cc │ ├── d0036.cc │ ├── d0037.cc │ ├── d0038.cc │ ├── d0039.cc │ ├── d0040.cc │ ├── d0041.cc │ ├── d0046.cc │ ├── d0046elab.cc │ ├── d0047.cc │ ├── d0048.cc │ ├── d0048elab.cc │ ├── d0049.cc │ ├── d0050.cc │ ├── d0050elab.cc │ ├── d0051.cc │ ├── d0051elab.cc │ ├── d0052.cc │ ├── d0053.cc │ ├── d0054.cc │ ├── d0055.cc │ ├── d0056.cc │ ├── d0057.cc │ ├── d0058.cc │ ├── d0059.cc │ ├── d0060.cc │ ├── d0061.cc │ ├── d0062.cc │ ├── d0063.cc │ ├── d0064.cc │ ├── d0065.cc │ ├── d0066.cc │ ├── d0067.cc │ ├── d0068.cc │ ├── d0069.cc │ ├── d0070.cc │ ├── d0071.cc │ ├── d0072.cc │ ├── d0073.cc │ ├── d0074.cc │ ├── d0075.cc │ ├── d0079.cc │ ├── d0080.cc │ ├── d0084.cc │ ├── d0087.cc │ ├── d0088.cc │ ├── d0089.cc │ ├── d0090.cc │ ├── d0091.cc │ ├── d0097.cc │ ├── d0098.cc │ ├── d0099.cc │ ├── d0100.cc │ ├── d0101.cc │ ├── d0102.cc │ ├── d0103.cc │ ├── d0104.cc │ ├── d0105.cc │ ├── d0106.cc │ ├── d0107.cc │ ├── d0108.cc │ ├── d0109.cc │ ├── d0110.cc │ ├── d0111.cc │ ├── d0112.cc │ ├── d0113.cc │ ├── d0114.cc │ ├── d0115.cc │ ├── d0116.cc │ ├── d0117.cc │ ├── d0118.cc │ ├── d0119.cc │ ├── d0120.cc │ ├── d0121.cc │ ├── d0123.cc │ ├── d0124.cc │ ├── d0125.cc │ ├── d0126.cc │ ├── d0128.cc │ ├── d0129.cc │ ├── dk0127.cc │ ├── extension │ │ └── d0001.c │ ├── gnu │ │ ├── asm01.c │ │ ├── attr01.c │ │ ├── attr02.c │ │ ├── bugs │ │ │ ├── d0106.cc │ │ │ ├── gb0001.c │ │ │ ├── gb0002.c │ │ │ ├── gb0003.cc │ │ │ ├── gb0004.c │ │ │ ├── gb0005.cc │ │ │ ├── gb0006.cc │ │ │ ├── gb0007.cc │ │ │ ├── gb0008.cc │ │ │ ├── gb0009.cc │ │ │ ├── gb0010.cc │ │ │ ├── gb0011.cc │ │ │ └── gb0012.cc │ │ ├── c0001.c │ │ ├── c0002.c │ │ ├── cil │ │ │ ├── align1.i │ │ │ ├── align2.i │ │ │ ├── attr2.i │ │ │ ├── attr3.i │ │ │ ├── attr4.i │ │ │ ├── attr5.i │ │ │ ├── attr6.i │ │ │ ├── bind-zero.i │ │ │ ├── combine_samefn_1.i │ │ │ ├── decl1.i │ │ │ ├── enumattr.i │ │ │ ├── globalprob.i │ │ │ ├── init8.i │ │ │ ├── invalredef.i │ │ │ ├── mode_sizes.i │ │ │ ├── regparm0.i │ │ │ ├── rmtmps-attr.i │ │ │ ├── rmtmps2.i │ │ │ ├── sockaddr.i │ │ │ ├── structattr.i │ │ │ ├── structattr2.i │ │ │ ├── structattr3.i │ │ │ ├── transpunion.i │ │ │ ├── typeof1.i │ │ │ └── warnings-noreturn.i │ │ ├── d0076.cc │ │ ├── d0078.cc │ │ ├── d0081.cc │ │ ├── d0082.cc │ │ ├── d0083.c │ │ ├── d0085.cc │ │ ├── d0086.cc │ │ ├── d0089.cc │ │ ├── d0092.cc │ │ ├── d0093.cc │ │ ├── d0094.cc │ │ ├── d0095.c │ │ ├── d0096.c │ │ ├── d0099.c │ │ ├── d0122.c │ │ ├── d0130.cc │ │ ├── dC0001.c │ │ ├── dC0002.c │ │ ├── dC0003.c │ │ ├── dC0004.c │ │ ├── dC0005.c │ │ ├── dC0006.c │ │ ├── dC0007.c │ │ ├── dC0008.c │ │ ├── dC0009.c │ │ ├── dC0014.c │ │ ├── dC0015.c │ │ ├── dC0016.c │ │ ├── dC0017.c │ │ ├── g0001.cc │ │ ├── g0002.cc │ │ ├── g0003.cc │ │ ├── g0004.cc │ │ ├── g0005.cc │ │ ├── g0006.cc │ │ ├── g0007.cc │ │ ├── g0008.cc │ │ ├── g0009.c │ │ ├── g0010.cc │ │ ├── g0011.cc │ │ ├── g0012.cc │ │ ├── g0013.cc │ │ ├── g0014.cc │ │ ├── g0015.cc │ │ ├── g0016.cc │ │ ├── g0017.cc │ │ ├── g0018.cc │ │ ├── g0019.cc │ │ ├── g0020.cc │ │ ├── g0021.cc │ │ ├── g0022.cc │ │ ├── g0023.cc │ │ ├── g0024.cc │ │ ├── g0025.cc │ │ ├── g0026.cc │ │ ├── g0027.cc │ │ ├── g0028.cc │ │ ├── g0029.cc │ │ ├── g0030.cc │ │ ├── g0031.cc │ │ ├── g0032.cc │ │ ├── g0033.cc │ │ ├── g0034.cc │ │ ├── g0035.cc │ │ ├── g0036.cc │ │ ├── k0001.cc │ │ ├── k0002.cc │ │ ├── k0003.cc │ │ ├── k0004.cc │ │ ├── k0005.cc │ │ ├── k0006.cc │ │ ├── k0006a.cc │ │ ├── k0007.cc │ │ ├── k0008.c │ │ ├── k0009.cc │ │ ├── k0010.c │ │ ├── offsetof.cc │ │ ├── t0124.cc │ │ ├── t0125.cc │ │ ├── t0126.c │ │ ├── t0126.c.da_cor │ │ ├── t0127.cc │ │ ├── t0128.cc │ │ ├── t0129.cc │ │ ├── t0130.cc │ │ ├── t0131.cc │ │ ├── t0132.cc │ │ ├── t0133.c │ │ ├── t0134.c │ │ ├── t0135.c │ │ ├── t0136.c │ │ └── t0137.c │ ├── htonll.cc │ ├── k0001.cc │ ├── k0002.cc │ ├── k0003.cc │ ├── k0004.cc │ ├── k0005.cc │ ├── k0005a.cc │ ├── k0006.cc │ ├── k0007.cc │ ├── k0008.cc │ ├── k0009.cc │ ├── k0010.cc │ ├── k0010a.cc │ ├── k0011.cc │ ├── k0012.cc │ ├── k0013.cc │ ├── k0014.cc │ ├── k0015.cc │ ├── k0016.cc │ ├── k0017.cc │ ├── k0018.cc │ ├── k0019.cc │ ├── k0020.cc │ ├── k0021.cc │ ├── k0022.cc │ ├── k0023.cc │ ├── k0024.cc │ ├── k0025.cc │ ├── k0026.cc │ ├── k0027.cc │ ├── k0028.cc │ ├── k0029.cc │ ├── k0030.cc │ ├── k0031.cc │ ├── k0032.cc │ ├── k0033.cc │ ├── k0034.cc │ ├── k0035.cc │ ├── k0036.cc │ ├── k0037.cc │ ├── k0038.cc │ ├── k0039.cc │ ├── k0040.cc │ ├── k0041.cc │ ├── k0042.cc │ ├── k0043.cc │ ├── k0044.cc │ ├── k0045.cc │ ├── k0046.cc │ ├── k0046a.cc │ ├── k0046b.cc │ ├── k0047.cc │ ├── k0048.cc │ ├── k0049.cc │ ├── k0050.cc │ ├── k0051.cc │ ├── k0052.cc │ ├── k0053.cc │ ├── k0054.cc │ ├── k0055.cc │ ├── k0056.cc │ ├── k0057.cc │ ├── k0058.cc │ ├── k0059.cc │ ├── k0060.cc │ ├── k0061.cc │ ├── k0062.cc │ ├── k0063.cc │ ├── k0064.cc │ ├── k0065.cc │ ├── k0066.cc │ ├── k0067.cc │ ├── k0068.cc │ ├── k0069.cc │ ├── k0070.cc │ ├── k0071.cc │ ├── k0072.cc │ ├── k0073.cc │ ├── k0074.cc │ ├── k0075.cc │ ├── k0076.cc │ ├── k0077.cc │ ├── k0078.cc │ ├── k0078a.cc │ ├── k0079.cc │ ├── k0080.cc │ ├── k0081.cc │ ├── k0082.cc │ ├── k0083.cc │ ├── k0084.cc │ ├── k0085.cc │ ├── k0086.cc │ ├── k0087.cc │ ├── k0088.cc │ ├── k0089.cc │ ├── k0090.cc │ ├── k0090a.cc │ ├── k0091.cc │ ├── k0092.cc │ ├── k0093.cc │ ├── k0094.cc │ ├── k0095.cc │ ├── k0096.cc │ ├── k0097.cc │ ├── k0098.cc │ ├── k0099.cc │ ├── k0100.cc │ ├── k0101.cc │ ├── k0102.cc │ ├── k0103.cc │ ├── k0104.cc │ ├── k0105.cc │ ├── k0105a.cc │ ├── k0106.cc │ ├── k0107.cc │ ├── k0108.cc │ ├── k0109.cc │ ├── k0110.cc │ ├── k0111.cc │ ├── k0112.cc │ ├── k0113.cc │ ├── k0114.cc │ ├── k0115.cc │ ├── k0116.cc │ ├── k0117.cc │ ├── k0118.cc │ ├── k0119.cc │ ├── k0120.cc │ ├── k0121.cc │ ├── k0122.cc │ ├── kandr │ │ ├── t0001.c │ │ ├── t0002.c │ │ ├── t0003.c │ │ └── t0004.c │ ├── moz0001.cc │ ├── moz0002.cc │ ├── moz0003.cc │ ├── moz0004.cc │ ├── moz0005.cc │ ├── moz0006.cc │ ├── moz0007.cc │ ├── moz0008.cc │ ├── moz0009.cc │ ├── moz0010.cc │ ├── moz0011.cc │ ├── msvc │ │ └── m0001.cc │ ├── sg0001.cc │ ├── std │ │ ├── 12.3.2c.cc │ │ ├── 12.6.2.2a.cc │ │ ├── 12.6.2.2b.cc │ │ ├── 13.1a.cc │ │ ├── 13.1b.cc │ │ ├── 13.1c.cc │ │ ├── 13.1d.cc │ │ ├── 13.1e.cc │ │ ├── 13.1f.cc │ │ ├── 13.1g.cc │ │ ├── 13.2a.cc │ │ ├── 13.3.1.1.2.cc │ │ ├── 13.3.3.1.4.cc │ │ ├── 13.3.3.2a.cc │ │ ├── 13.3.3.2b.cc │ │ ├── 13.3.3.2d.cc │ │ ├── 13.3.3b.cc │ │ ├── 13.cc │ │ ├── 3.4.3a.cc │ │ ├── 3.4.5.cc │ │ ├── 7.1.3b.cc │ │ ├── 7.3.1.2b.cc │ │ ├── 7.3.1.cc │ │ ├── 7.3.2.cc │ │ ├── 7.3.3a.cc │ │ ├── 7.3.3b.cc │ │ ├── 7.3.3c.cc │ │ ├── 7.3.3d.cc │ │ ├── 7.3.3e.cc │ │ ├── 7.3.3f.cc │ │ ├── 7.3.3g.cc │ │ ├── 7.3.3h.cc │ │ ├── 7.3.3i.cc │ │ ├── 7.3.3j.cc │ │ ├── 7.3.3k.cc │ │ ├── 7.3.4a.cc │ │ ├── 7.3.4b.cc │ │ ├── 7.3.4c.cc │ │ ├── 7.3.4d.cc │ │ ├── 7.3.4e.cc │ │ ├── 8.2.1.cc │ │ ├── 8.2.7a.cc │ │ ├── 8.2.7b.cc │ │ └── 8.3.3.2.cc │ ├── t0001.cc │ ├── t0002.cc │ ├── t0003.cc │ ├── t0004.cc │ ├── t0005.cc │ ├── t0006.cc │ ├── t0007.cc │ ├── t0008.cc │ ├── t0009.cc │ ├── t0010.cc │ ├── t0011.cc │ ├── t0012.cc │ ├── t0013.cc │ ├── t0014.cc │ ├── t0014a.cc │ ├── t0015.cc │ ├── t0016.cc │ ├── t0017.cc │ ├── t0018.cc │ ├── t0019.cc │ ├── t0020.cc │ ├── t0021.cc │ ├── t0022.cc │ ├── t0023.cc │ ├── t0024.cc │ ├── t0025.cc │ ├── t0026.cc │ ├── t0027.cc │ ├── t0028.cc │ ├── t0029.cc │ ├── t0030.cc │ ├── t0030a.cc │ ├── t0030b.cc │ ├── t0031.cc │ ├── t0032.cc │ ├── t0033.cc │ ├── t0034.cc │ ├── t0035.cc │ ├── t0036.cc │ ├── t0037.cc │ ├── t0038.cc │ ├── t0039.cc │ ├── t0040.cc │ ├── t0041.cc │ ├── t0042.cc │ ├── t0043.cc │ ├── t0044.cc │ ├── t0045.cc │ ├── t0046.cc │ ├── t0047.cc │ ├── t0048.cc │ ├── t0049.cc │ ├── t0050.cc │ ├── t0051.cc │ ├── t0052.cc │ ├── t0053.cc │ ├── t0054.cc │ ├── t0055.cc │ ├── t0056.cc │ ├── t0057.cc │ ├── t0058.cc │ ├── t0059.cc │ ├── t0060.cc │ ├── t0061.cc │ ├── t0062.cc │ ├── t0063.cc │ ├── t0064.cc │ ├── t0065.cc │ ├── t0066.cc │ ├── t0067.cc │ ├── t0068.cc │ ├── t0069.cc │ ├── t0070.cc │ ├── t0071.cc │ ├── t0072.cc │ ├── t0073.cc │ ├── t0074.cc │ ├── t0075.cc │ ├── t0076.cc │ ├── t0077.cc │ ├── t0078.cc │ ├── t0079.cc │ ├── t0080.cc │ ├── t0081.cc │ ├── t0082.cc │ ├── t0083.cc │ ├── t0084.cc │ ├── t0085.cc │ ├── t0086.cc │ ├── t0087.cc │ ├── t0088.cc │ ├── t0089.cc │ ├── t0090.cc │ ├── t0091.cc │ ├── t0092.cc │ ├── t0093.cc │ ├── t0094.cc │ ├── t0095.cc │ ├── t0096.cc │ ├── t0097.cc │ ├── t0098.cc │ ├── t0099.cc │ ├── t0100.cc │ ├── t0101.cc │ ├── t0102.cc │ ├── t0103.cc │ ├── t0104.cc │ ├── t0105.cc │ ├── t0106.cc │ ├── t0107.cc │ ├── t0108.cc │ ├── t0108b.cc │ ├── t0109.cc │ ├── t0110.cc │ ├── t0111.cc │ ├── t0112.cc │ ├── t0113.cc │ ├── t0114.cc │ ├── t0115.cc │ ├── t0116.cc │ ├── t0117.cc │ ├── t0118.cc │ ├── t0119.cc │ ├── t0120.cc │ ├── t0121.cc │ ├── t0122.cc │ ├── t0123.cc │ ├── t0124.cc │ ├── t0125.cc │ ├── t0126.cc │ ├── t0127.cc │ ├── t0128.cc │ ├── t0129.cc │ ├── t0130.cc │ ├── t0131.cc │ ├── t0132.cc │ ├── t0133.cc │ ├── t0134.cc │ ├── t0135.cc │ ├── t0136.cc │ ├── t0137.cc │ ├── t0138.cc │ ├── t0139.cc │ ├── t0140.cc │ ├── t0141.cc │ ├── t0142.cc │ ├── t0143.cc │ ├── t0144.cc │ ├── t0145.cc │ ├── t0146.cc │ ├── t0147.cc │ ├── t0148.cc │ ├── t0149.cc │ ├── t0150.cc │ ├── t0151.cc │ ├── t0152.cc │ ├── t0153.cc │ ├── t0154.cc │ ├── t0155.cc │ ├── t0156.cc │ ├── t0157.cc │ ├── t0158.cc │ ├── t0159.cc │ ├── t0160.cc │ ├── t0161.cc │ ├── t0162.cc │ ├── t0163.cc │ ├── t0164.cc │ ├── t0165.cc │ ├── t0166.cc │ ├── t0167.cc │ ├── t0168.cc │ ├── t0169.cc │ ├── t0170.cc │ ├── t0171.cc │ ├── t0172.cc │ ├── t0173.cc │ ├── t0174.cc │ ├── t0175.cc │ ├── t0176.cc │ ├── t0177.cc │ ├── t0178.cc │ ├── t0179.cc │ ├── t0180.cc │ ├── t0181.cc │ ├── t0182.cc │ ├── t0183.cc │ ├── t0184.cc │ ├── t0185.cc │ ├── t0186.cc │ ├── t0187.cc │ ├── t0188.cc │ ├── t0189.cc │ ├── t0190.cc │ ├── t0191.cc │ ├── t0192.cc │ ├── t0193.cc │ ├── t0194.cc │ ├── t0195.cc │ ├── t0196.cc │ ├── t0197.cc │ ├── t0198.cc │ ├── t0199.cc │ ├── t0200.cc │ ├── t0201.cc │ ├── t0202.cc │ ├── t0203.cc │ ├── t0204.cc │ ├── t0205.cc │ ├── t0206.cc │ ├── t0207.cc │ ├── t0208.cc │ ├── t0209.cc │ ├── t0210.cc │ ├── t0211.cc │ ├── t0212.cc │ ├── t0213.cc │ ├── t0214.cc │ ├── t0215.cc │ ├── t0216.cc │ ├── t0217.cc │ ├── t0218.cc │ ├── t0219.cc │ ├── t0220.cc │ ├── t0221.cc │ ├── t0222.cc │ ├── t0223.cc │ ├── t0224.cc │ ├── t0225.cc │ ├── t0226.cc │ ├── t0227.cc │ ├── t0228.cc │ ├── t0228b.cc │ ├── t0229.cc │ ├── t0230.cc │ ├── t0231.cc │ ├── t0232.cc │ ├── t0233.cc │ ├── t0234.cc │ ├── t0235.cc │ ├── t0236.cc │ ├── t0237.cc │ ├── t0238.cc │ ├── t0239.cc │ ├── t0240.cc │ ├── t0241.cc │ ├── t0242.cc │ ├── t0243.cc │ ├── t0244.cc │ ├── t0245.cc │ ├── t0246.cc │ ├── t0247.cc │ ├── t0248.cc │ ├── t0249.cc │ ├── t0250.cc │ ├── t0251.cc │ ├── t0252.cc │ ├── t0253.cc │ ├── t0254.cc │ ├── t0255.cc │ ├── t0256.cc │ ├── t0257.cc │ ├── t0258.cc │ ├── t0259.cc │ ├── t0260.cc │ ├── t0261.cc │ ├── t0262.cc │ ├── t0263.cc │ ├── t0264.cc │ ├── t0265.cc │ ├── t0266.cc │ ├── t0267.cc │ ├── t0268.cc │ ├── t0268a.cc │ ├── t0269.cc │ ├── t0270.cc │ ├── t0271.cc │ ├── t0272.cc │ ├── t0273.cc │ ├── t0274.cc │ ├── t0275.cc │ ├── t0276.cc │ ├── t0277.cc │ ├── t0278.cc │ ├── t0279.cc │ ├── t0280.cc │ ├── t0281.cc │ ├── t0282.cc │ ├── t0283.cc │ ├── t0284.cc │ ├── t0285.cc │ ├── t0286.cc │ ├── t0287.cc │ ├── t0288.cc │ ├── t0289.cc │ ├── t0290.cc │ ├── t0290a.cc │ ├── t0291.cc │ ├── t0292.cc │ ├── t0293.cc │ ├── t0294.cc │ ├── t0295.cc │ ├── t0296.cc │ ├── t0297.cc │ ├── t0298.cc │ ├── t0299.cc │ ├── t0300.cc │ ├── t0301.cc │ ├── t0302.cc │ ├── t0303.cc │ ├── t0304.cc │ ├── t0305.cc │ ├── t0306.cc │ ├── t0307.cc │ ├── t0308.cc │ ├── t0309.cc │ ├── t0310.cc │ ├── t0311.cc │ ├── t0312.cc │ ├── t0313.cc │ ├── t0314.cc │ ├── t0315.cc │ ├── t0316.cc │ ├── t0317.cc │ ├── t0318.cc │ ├── t0319.cc │ ├── t0320.cc │ ├── t0321.cc │ ├── t0322.cc │ ├── t0323.cc │ ├── t0324.cc │ ├── t0325.cc │ ├── t0326.cc │ ├── t0327.cc │ ├── t0328.cc │ ├── t0329.cc │ ├── t0330.cc │ ├── t0331.cc │ ├── t0332.cc │ ├── t0333.cc │ ├── t0334.cc │ ├── t0335.cc │ ├── t0336.cc │ ├── t0337.cc │ ├── t0338.cc │ ├── t0339.cc │ ├── t0340.cc │ ├── t0341.cc │ ├── t0342.cc │ ├── t0343.cc │ ├── t0344.cc │ ├── t0345.cc │ ├── t0346.cc │ ├── t0347.cc │ ├── t0348.cc │ ├── t0349.cc │ ├── t0350.cc │ ├── t0351.cc │ ├── t0352.cc │ ├── t0353.cc │ ├── t0354.cc │ ├── t0355.cc │ ├── t0356.cc │ ├── t0357.cc │ ├── t0358.cc │ ├── t0359.cc │ ├── t0360.cc │ ├── t0361.cc │ ├── t0362.cc │ ├── t0363.cc │ ├── t0364.cc │ ├── t0365.cc │ ├── t0366.cc │ ├── t0367.cc │ ├── t0368.cc │ ├── t0369.cc │ ├── t0370.cc │ ├── t0371.cc │ ├── t0372.cc │ ├── t0373.cc │ ├── t0374.cc │ ├── t0375.cc │ ├── t0376.cc │ ├── t0377.cc │ ├── t0378.cc │ ├── t0379.cc │ ├── t0380.cc │ ├── t0381.cc │ ├── t0382.cc │ ├── t0383.cc │ ├── t0384.cc │ ├── t0385.cc │ ├── t0386.cc │ ├── t0387.cc │ ├── t0388.cc │ ├── t0389.cc │ ├── t0390.cc │ ├── t0391.cc │ ├── t0392.cc │ ├── t0393.cc │ ├── t0394.cc │ ├── t0395.cc │ ├── t0396.cc │ ├── t0397.cc │ ├── t0398.cc │ ├── t0399.cc │ ├── t0400.cc │ ├── t0401.cc │ ├── t0402.cc │ ├── t0403.cc │ ├── t0404.cc │ ├── t0405.cc │ ├── t0406.cc │ ├── t0407.cc │ ├── t0408.cc │ ├── t0409.cc │ ├── t0410.cc │ ├── t0411.cc │ ├── t0412.cc │ ├── t0413.cc │ ├── t0414.cc │ ├── t0415.cc │ ├── t0416.cc │ ├── t0417.cc │ ├── t0418.cc │ ├── t0419.cc │ ├── t0420.cc │ ├── t0421.cc │ ├── t0422.cc │ ├── t0422a.cc │ ├── t0423.cc │ ├── t0424.cc │ ├── t0425.cc │ ├── t0426.cc │ ├── t0427.cc │ ├── t0428.cc │ ├── t0429.cc │ ├── t0430.cc │ ├── t0431.cc │ ├── t0432.cc │ ├── t0433.cc │ ├── t0434.cc │ ├── t0435.cc │ ├── t0436.cc │ ├── t0437.cc │ ├── t0438.cc │ ├── t0438a.cc │ ├── t0439.cc │ ├── t0440.cc │ ├── t0441.cc │ ├── t0441a.cc │ ├── t0442.cc │ ├── t0443.cc │ ├── t0444.cc │ ├── t0445.cc │ ├── t0446.cc │ ├── t0447.cc │ ├── t0448.cc │ ├── t0449.cc │ ├── t0450.cc │ ├── t0451.cc │ ├── t0452.cc │ ├── t0453.cc │ ├── t0454.cc │ ├── t0455.cc │ ├── t0456.cc │ ├── t0457.cc │ ├── t0458.cc │ ├── t0459.cc │ ├── t0460.cc │ ├── t0461.cc │ ├── t0462.cc │ ├── t0463.cc │ ├── t0464.cc │ ├── t0465.cc │ ├── t0466.cc │ ├── t0467.cc │ ├── t0468.cc │ ├── t0469.cc │ ├── t0470.cc │ ├── t0471.cc │ ├── t0472.cc │ ├── t0473.cc │ ├── t0474.cc │ ├── t0475.cc │ ├── t0476.cc │ ├── t0477.cc │ ├── t0478.cc │ ├── t0479.cc │ ├── t0480.cc │ ├── t0481.cc │ ├── t0482.cc │ ├── t0483.cc │ ├── t0484.cc │ ├── t0485.cc │ ├── t0486.cc │ ├── t0487.cc │ ├── t0487b.cc │ ├── t0488.cc │ ├── t0489.cc │ ├── t0490.cc │ ├── t0491.cc │ ├── t0492.cc │ ├── t0493.cc │ ├── t0494.cc │ ├── t0495.cc │ ├── t0496.cc │ ├── t0497.cc │ ├── t0498.cc │ ├── t0499.cc │ ├── t0500.cc │ ├── t0501.cc │ ├── t0502.cc │ ├── t0503.cc │ ├── t0504.cc │ ├── t0505.cc │ ├── t0506.cc │ ├── t0507.cc │ ├── t0508.cc │ ├── t0509.cc │ ├── t0510.cc │ ├── t0511.cc │ ├── t0512.cc │ ├── t0513.cc │ ├── t0514.cc │ ├── t0515.cc │ ├── t0516.cc │ ├── t0517.cc │ ├── t0518.cc │ ├── t0519.cc │ ├── t0520.cc │ ├── t0521.cc │ ├── t0522.cc │ ├── t0523.cc │ ├── t0524.cc │ ├── t0525.cc │ ├── t0526.cc │ ├── t0527.cc │ ├── t0528.cc │ ├── t0529.cc │ ├── t0530.cc │ ├── t0531.cc │ ├── t0532.cc │ ├── t0533.cc │ ├── t0534.cc │ ├── t0535.cc │ ├── t0536.cc │ ├── t0537.cc │ ├── t0538.cc │ ├── t0539.cc │ ├── t0540.cc │ ├── t0541.cc │ ├── t0542.cc │ ├── t0543.cc │ ├── t0544.cc │ ├── t0545.cc │ ├── t0546.cc │ ├── t0547.cc │ ├── t0548.cc │ ├── t0549.cc │ ├── t0550.cc │ ├── t0551.cc │ ├── t0552.cc │ ├── t0553.cc │ ├── t0554.cc │ ├── t0555.cc │ ├── t0556.cc │ ├── t0557.cc │ ├── t0558.cc │ ├── t0559.cc │ ├── t0560.cc │ ├── t0561.cc │ ├── t0562.cc │ ├── t0563.cc │ ├── t0564.cc │ ├── t0565.cc │ ├── t0566.cc │ ├── t0567.cc │ ├── t0568.cc │ ├── t0569.cc │ ├── t0570.cc │ ├── t0571.cc │ ├── t0572.cc │ ├── t0573.cc │ ├── t0574.cc │ ├── t0575.cc │ ├── t0576.cc │ ├── t0577.cc │ ├── t0578.cc │ ├── t0579.cc │ ├── t0580.cc │ ├── t0581.cc │ ├── t0582.cc │ ├── t0583.cc │ ├── t0584.cc │ ├── t0585.cc │ ├── t0586.cc │ ├── t0587.cc │ ├── t0588.cc │ ├── t0589.cc │ ├── t0590.cc │ ├── t0591.cc │ ├── t0592.cc │ ├── t0593.cc │ ├── t0594.cc │ ├── t0595.cc │ ├── t0596.cc │ ├── t0597.cc │ ├── t0598.cc │ ├── t0599.cc │ ├── t0600.cc │ ├── t0601.cc │ ├── t0602.cc │ ├── t0603.cc │ ├── t0604.cc │ ├── t0605.cc │ ├── t0606.cc │ ├── t0607.cc │ ├── t0608.cc │ ├── t0609.cc │ ├── t0610.cc │ ├── t0611.cc │ ├── t0612.cc │ ├── t0613.cc │ ├── t0614.cc │ ├── t0615.cc │ ├── t0616.cc │ ├── t0617.cc │ ├── t0618.cc │ ├── t0619.cc │ ├── t0620.cc │ ├── t0621.cc │ ├── t0622.cc │ ├── t0623.cc │ ├── t0624.cc │ ├── t0625.cc │ ├── t0626.cc │ ├── t0627.cc │ ├── t0628.cc │ ├── t0629.cc │ ├── t0630.cc │ ├── t0631.cc │ ├── t0632.cc │ └── u0001.cc ├── include │ ├── README │ ├── exception.h │ ├── new.h │ ├── stdarg.h │ └── stddef.h ├── index.html ├── integrity.cc ├── integrity.h ├── interptest ├── iptparse.cc ├── iptparse.h ├── iptparse.lex ├── iptree.cc ├── iptree.h ├── kandr.ast ├── kandr.cc ├── kandr.gr ├── kandr.h ├── lexer.cc ├── lexer.h ├── lookupset.cc ├── lookupset.h ├── main.cc ├── make-token-files ├── mangle.cc ├── mangle.h ├── merge-lexer-exts.pl ├── mflags.h ├── mkdist ├── mtype.cc ├── mtype.h ├── multitest.pl ├── notopt.cc ├── overload.cc ├── overload.h ├── packedword.h ├── packedword_test.cc ├── parssppt.cc ├── parssppt.h ├── regrtest ├── run-all3 ├── run-all3-multi ├── run-delta-loop ├── run-g++ ├── run-icc ├── semgrep.cc ├── serialno.cc ├── serialno.h ├── smin.cc ├── smin.h ├── sprint.cc ├── sprint.h ├── stdconv.cc ├── stdconv.h ├── strmap.h ├── template.cc ├── template.h ├── test-cipart ├── test-for-error ├── test-parse ├── test-parse-big ├── test-parse-buildlog ├── test-parse-manyfiles ├── test-parse-mozilla ├── test-parse-mozilla-gcc ├── test-parse-openssh ├── test-parse-openssl ├── test-parse-std ├── test-perl-crlf.pl ├── tlexer.cc ├── todo.txt ├── token.pl ├── toplevel │ ├── License.txt │ ├── Makefile │ ├── configure │ └── readme.txt ├── typelistiter.cc ├── typelistiter.h ├── variable.cc ├── variable.h ├── xml_ast_reader.cc ├── xml_ast_reader.h ├── xml_basic.tokens ├── xml_do_read.cc ├── xml_do_read.h ├── xml_enum.h ├── xml_file.tokens ├── xml_file_reader.cc ├── xml_file_reader.h ├── xml_file_writer.cc ├── xml_file_writer.h ├── xml_lex_0top.lex ├── xml_lex_2bot.lex ├── xml_lex_extra.h ├── xml_lexer.cc ├── xml_lexer.h ├── xml_reader.cc ├── xml_reader.h ├── xml_test.mk ├── xml_type.tokens ├── xml_type_id.h ├── xml_type_reader.cc ├── xml_type_reader.h ├── xml_type_writer.cc ├── xml_type_writer.h ├── xml_writer.cc └── xml_writer.h ├── libqual ├── .gitignore ├── License.txt ├── Makefile ├── Readme ├── bool.h ├── buffer.c ├── buffer.h ├── config │ ├── kernel.cq │ ├── kernel_lattice │ ├── lattice │ ├── lattice-kernel-init │ ├── linux-syscalls.cq │ ├── prelude.cq │ ├── proto-noderef.cq │ ├── proto.cq │ ├── read-write.cq │ ├── sleepy.cq │ ├── sleepy_lattice │ ├── stackness.lattice │ └── taint.lattice ├── configure ├── dd_list-serialize.c ├── dd_list-serialize.h ├── dd_list.c ├── dd_list.h ├── hash-serialize.c ├── hash-serialize.h ├── hash.c ├── hash.h ├── hashset-serialize.c ├── hashset-serialize.h ├── hashset.c ├── hashset.h ├── lattice-parse.l ├── lattice-parse.y ├── libqual.c ├── libqual.h ├── linkage.h ├── location.c ├── location.h ├── location_smbase_iface.cc ├── qerror.c ├── qerror.h ├── qual_flags.c ├── qual_flags.h ├── quals.c ├── quals.h ├── serialize.c ├── serialize.h ├── typed_bag.h ├── typed_ddlist.h ├── typed_hashset.h ├── typed_map.h ├── typed_set.h ├── utils.c └── utils.h ├── libregion ├── .gitignore ├── License.txt ├── Makefile ├── Notes ├── Readme ├── Transcript ├── alloc.c ├── build_check ├── configure ├── cqual-stdint.h ├── memcheck.h ├── mempool.h ├── miniregion.h ├── pages.c ├── profile.c ├── profile.h ├── regions.c ├── regions.h ├── stats.c └── valgrind.h ├── oink-scripts ├── Makefile ├── bin │ ├── oinkx │ └── qualx ├── config │ ├── lattice.0 │ └── lattice.taint ├── configure ├── doc │ ├── INSTALL.txt │ └── README.txt └── lib │ ├── QTool.pm │ └── Stopwatch.pm ├── oink ├── .gdbinit ├── .gdbinit.old ├── .gdbinit.quarl ├── .gitignore ├── 0Readme ├── Build.incl.mk.in ├── Demo.mk ├── Doc │ ├── License.txt │ ├── coding.html │ ├── features_of_elsa.html │ ├── index.html │ ├── manifest.html │ ├── oink_help.html │ ├── qual.html │ ├── qual_help.html │ ├── quickstart.html │ └── releases ├── Lib │ ├── LibTest.incl.mk │ ├── union_find.h │ ├── union_find_map.h │ └── union_find_test.cc ├── LibCpdInit │ ├── Grammar │ ├── Makefile │ ├── Readme │ ├── Test │ │ ├── cil_const-array-init.c │ │ ├── cil_const-array-init.cor │ │ ├── cil_extern_init.c │ │ ├── cil_init.c │ │ ├── cil_init.cor │ │ ├── cil_init1.c │ │ ├── cil_init1.cor │ │ ├── cil_init10.c │ │ ├── cil_init10.cor │ │ ├── cil_init11.c │ │ ├── cil_init11.cor │ │ ├── cil_init12.c │ │ ├── cil_init13.c │ │ ├── cil_init14.c │ │ ├── cil_init14.cor │ │ ├── cil_init15.c │ │ ├── cil_init15.cor │ │ ├── cil_init16.c │ │ ├── cil_init2.c │ │ ├── cil_init3.c │ │ ├── cil_init3.cor │ │ ├── cil_init4.c │ │ ├── cil_init4.cor │ │ ├── cil_init5.c │ │ ├── cil_init6.c │ │ ├── cil_init7.c │ │ ├── cil_init8.c │ │ ├── cil_init8.cor │ │ ├── cil_init9.c │ │ ├── cil_initial.c │ │ ├── cil_initial.cor │ │ ├── cil_struct_init.c │ │ ├── cil_struct_init.cor │ │ ├── compoundinit10.c │ │ ├── compoundinit1A.c │ │ ├── compoundinit1A.cor │ │ ├── compoundinit1B.c │ │ ├── compoundinit1B.cor │ │ ├── compoundinit1C.c │ │ ├── compoundinit1C.cor │ │ ├── compoundinit1D.c │ │ ├── compoundinit1D.cor │ │ ├── compoundinit1E.c │ │ ├── compoundinit1E.cor │ │ ├── compoundinit1F.c │ │ ├── compoundinit1F.cor │ │ ├── compoundinit1G.c │ │ ├── compoundinit1G.cor │ │ ├── compoundinit1H.c │ │ ├── compoundinit1H.cor │ │ ├── compoundinit1I.c │ │ ├── compoundinit1I.cor │ │ ├── compoundinit2.c │ │ ├── compoundinit2.cor │ │ ├── compoundinit2_1.c │ │ ├── compoundinit2_1.cor │ │ ├── compoundinit3A.c │ │ ├── compoundinit3A.cor │ │ ├── compoundinit3B.c │ │ ├── compoundinit3B.cor │ │ ├── compoundinit3C.c │ │ ├── compoundinit3C.cor │ │ ├── compoundinit3D.c │ │ ├── compoundinit3D.cor │ │ ├── compoundinit4A.c │ │ ├── compoundinit4A.cor │ │ ├── compoundinit4B.c │ │ ├── compoundinit4B.cor │ │ ├── compoundinit5A.c │ │ ├── compoundinit5A.cor │ │ ├── compoundinit5Aw.c │ │ ├── compoundinit5Aw.cor │ │ ├── compoundinit5B.c │ │ ├── compoundinit5B.cor │ │ ├── compoundinit5Bw.c │ │ ├── compoundinit5Bw.cor │ │ ├── compoundinit6A.c │ │ ├── compoundinit6A.cor │ │ ├── compoundinit6B.c │ │ ├── compoundinit6B.cor │ │ ├── compoundinit7_e_cpdlit.c │ │ ├── compoundinit7_e_cpdlit.cor │ │ ├── compoundinit8_chararraymem.c │ │ ├── compoundinit8_chararraymem.cor │ │ ├── compoundinit9_chararr.c │ │ ├── compoundinit9_chararr.cor │ │ └── testharness.h │ ├── configure │ ├── cpdinit.cc │ ├── cpdinit.h │ ├── cpdinit_lib.h │ ├── member_type_iter.cc │ └── member_type_iter.h ├── License.txt ├── Makefile.in ├── Pork │ ├── .gitignore │ ├── 0Readme │ ├── License.txt │ ├── Makefile │ ├── Test │ │ ├── .gitignore │ │ ├── foo.c │ │ └── foo.i.cor │ ├── patcher.cc │ ├── patcher.h │ ├── piglet.cc │ ├── piglet.h │ ├── squash_util.h │ └── stopwatch.cc ├── Test.incl.mk ├── Test │ ├── .gitignore │ ├── 0Readme │ ├── Makefile │ ├── Module_analysis │ │ ├── .gdbinit │ │ ├── .gitignore │ │ ├── 0Readme │ │ ├── Hello.mk │ │ ├── Hello2.mk │ │ ├── ModuleAnalysis.incl.mk │ │ ├── bar.mod │ │ ├── foo.mod │ │ ├── hello.c │ │ ├── hello.mod │ │ ├── hello2.c │ │ ├── hello2.mod │ │ ├── lib_bar.c │ │ ├── lib_bar.h │ │ ├── lib_foo.c │ │ └── lib_foo.h │ ├── Module_xform │ │ ├── .gitignore │ │ ├── 0Readme │ │ ├── Makefile │ │ ├── Std.incl.mk │ │ ├── Util.incl.mk │ │ ├── Xlz.incl.mk │ │ ├── gronk.c │ │ ├── gronk.h │ │ ├── gronk_b.c │ │ ├── gronk_b.h │ │ └── gronk_b_tor.c │ ├── Pork_demo │ │ ├── .gdbinit │ │ ├── .gitignore │ │ ├── 0Readme │ │ ├── Makefile │ │ └── hello.cpp │ ├── Quickstart1 │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── g.c │ │ ├── g.h │ │ ├── main.c │ │ └── mini_libc.c │ ├── Test │ ├── abstract-func.cc │ ├── allvalues.cc │ ├── anon_struct1a.cc │ ├── anon_struct1b.cc │ ├── anon_struct2a.cc │ ├── anon_struct2b.cc │ ├── anon_struct3a.cc │ ├── applycv1.cc │ ├── array_index_flows1.cc │ ├── array_index_flows2.cc │ ├── array_pointer1.c │ ├── asm.i │ ├── aspv_bad1.c │ ├── aspv_bad2.c │ ├── aspv_bad3.c │ ├── aspv_good1.c │ ├── assert_type1.c │ ├── assert_type1.cc │ ├── assign1.cc │ ├── assign2.cc │ ├── assign3.cc │ ├── atom_type_tag.cc │ ├── attralias1.c │ ├── attralias2a.c │ ├── attralias2b.c │ ├── auto_union_struct1.c │ ├── auto_union_struct2.c │ ├── bar3.mod │ ├── bin_minmax1.cc │ ├── bool.i │ ├── bool.ii │ ├── bool_member.i │ ├── builtin1.cc │ ├── builtin2.cc │ ├── builtin2b.c │ ├── builtin3.cc │ ├── builtin3b.c │ ├── builtin_va_arg.i │ ├── bullet │ │ ├── bullet_test_array.c │ │ ├── bullet_test_binop.c │ │ ├── bullet_test_break.c │ │ ├── bullet_test_continue.c │ │ ├── bullet_test_do_while.c │ │ ├── bullet_test_do_while_2.c │ │ ├── bullet_test_do_while_3.c │ │ ├── bullet_test_do_while_4.c │ │ ├── bullet_test_fibonacci_recursive.c │ │ ├── bullet_test_for.c │ │ ├── bullet_test_func_call.c │ │ ├── bullet_test_func_call_2.c │ │ ├── bullet_test_if.c │ │ ├── bullet_test_if_else.c │ │ ├── bullet_test_if_else_2.c │ │ ├── bullet_test_trivial.c │ │ ├── bullet_test_variables.c │ │ ├── bullet_test_while.c │ │ ├── bullet_test_while_2.c │ │ └── bullet_test_while_3.c │ ├── c_keyword_as_cpp_id.i │ ├── c_linkage1.c │ ├── c_linkage2.c │ ├── cast_array_init1.cc │ ├── cast_assign.i │ ├── cast_voidstar1.cc │ ├── casts_preserve1.c │ ├── casts_preserve2.c │ ├── casts_preserve3.c │ ├── casts_preserve_func1.c │ ├── casts_preserve_func1b.c │ ├── casts_preserve_func2.c │ ├── casts_preserve_func3.c │ ├── cfgprint1.c │ ├── char_array_lit_init.i │ ├── char_array_lit_init2.i │ ├── char_pointer_lit_init.i │ ├── clone1.cc │ ├── cn_decl1.cc │ ├── completely_empty.c │ ├── compoundinit1.c │ ├── compoundinit1.c.cor │ ├── compoundinit10.c │ ├── compoundinit11.c │ ├── compoundinit12.c │ ├── compoundinit13.c │ ├── compoundinit14.c │ ├── compoundinit15.c │ ├── compoundinit2.c │ ├── compoundinit2.c.cor │ ├── compoundinit3.c │ ├── compoundinit3.c.cor │ ├── compoundinit4.c │ ├── compoundinit4.c.cor │ ├── compoundinit5.c │ ├── compoundinit5.c.cor │ ├── compoundinit6.c │ ├── compoundinit6.c.cor │ ├── compoundinit_ptrToMem.cc │ ├── cond_omit_then.cc │ ├── cond_omit_then1.cc │ ├── const1.c │ ├── const2.c │ ├── const3.c │ ├── const_array.cc │ ├── const_array2.cc │ ├── const_when_param1.c │ ├── const_when_param2.c │ ├── const_when_param_ptr1.c │ ├── const_when_param_ptr2.c │ ├── constcastfunc1.cc │ ├── copy1.cc │ ├── cpd_init1.c │ ├── cpd_lit_arg.cc │ ├── decl1.cc │ ├── deep1.c │ ├── def_arg_cast.ii │ ├── default_from_typename1.cc │ ├── default_from_typename2.cc │ ├── dfgprint1.c │ ├── double_goto.i │ ├── dpfad_bad1.c │ ├── dpfad_bad2.c │ ├── dpfad_bad3.c │ ├── dpfad_good1.c │ ├── dynam_size_stack_arr.i │ ├── ellipsis1.c │ ├── ellipsis2.c │ ├── ellipsis3.c │ ├── ellipsis_as_void_star_poly5a.c │ ├── ellipsis_as_void_star_poly5b.c │ ├── ellipsis_noparam1.c │ ├── empty.c │ ├── empty.i │ ├── empty_statement_expr1.c │ ├── enum_subscript.i │ ├── error-void.c │ ├── error_var1.cc │ ├── exception1.cc │ ├── exception1E.cc │ ├── exception1b.cc │ ├── exception1bE.cc │ ├── exception1c.cc │ ├── exception1cE.cc │ ├── exception1d.cc │ ├── exception1dE.cc │ ├── exception2.cc │ ├── exclude_amp_star_bad1.c │ ├── exclude_bad1.c │ ├── exclude_bad2.c │ ├── exclude_bad3.c │ ├── exclude_bad4.c │ ├── exclude_cast_bad1.c │ ├── exclude_cast_bad2.cc │ ├── exclude_cast_good1.c │ ├── exclude_good1.c │ ├── exclude_star_amp_bad1.c │ ├── exclude_star_amp_good1.c │ ├── expect1.cc │ ├── extern_inline_func1.c │ ├── extern_inline_func2a.c │ ├── extern_inline_func2b.c │ ├── extern_inline_func3a.c │ ├── extern_inline_func3b.c │ ├── extern_inline_func4a.c │ ├── extern_inline_func4b.c │ ├── extern_inline_func5a.c │ ├── extern_inline_func5b.c │ ├── extern_inline_func6a.c │ ├── extern_inline_func6b.c │ ├── extern_inline_func7a.c │ ├── extern_inline_func8a.cc │ ├── extern_inline_func8b.cc │ ├── extern_template1.cc │ ├── extern_undefined1.cc │ ├── extern_undefined2.cc │ ├── extern_unused_undefined.cc │ ├── fail1.c │ ├── fread1.c │ ├── fread2.c │ ├── func-gran-rev-mod-pub1.cor │ ├── func1.c │ ├── func2.c │ ├── func3.c │ ├── func_attrs1.i │ ├── func_gran1.cc │ ├── func_gran1.cc.fgcfg.cor │ ├── func_gran1.cc.vars.cor │ ├── func_gran1q.cc │ ├── func_gran2.cc │ ├── func_gran2.cc.fgcfg.cor │ ├── func_gran2.cc.vars.cor │ ├── func_gran2q.cc │ ├── func_gran3.cc │ ├── func_gran3.cc.fgcfg.cor │ ├── func_gran3.cc.vars.cor │ ├── func_gran3q.cc │ ├── func_gran4.cc │ ├── func_gran4.cc.fgcfg.cor │ ├── func_gran4.cc.vars.cor │ ├── func_gran4q.cc │ ├── func_gran5.cc │ ├── func_gran5.cc.fgcfg.cor │ ├── func_gran5.cc.vars.cor │ ├── func_gran5q.cc │ ├── func_gran6q_1.cc │ ├── func_gran6q_2.cc │ ├── func_gran7.cc │ ├── func_gran8.cc │ ├── func_gran8.cc.vars.cor │ ├── func_gran9.cc │ ├── func_gran9.cc.vars.cor │ ├── func_param_ret1.c │ ├── func_param_ret2.c │ ├── funcall2.c │ ├── funccast_to_nonfunc1.cc │ ├── funcptr1.c │ ├── funcptr_cast_ret_compound1.c │ ├── funcptr_cast_to_compound1.cc │ ├── funcptr_implicit_addr1.c │ ├── funcptr_template1.cc │ ├── function_pointer_in_array.c │ ├── function_through_void1.c │ ├── function_through_void2.c │ ├── funky1.c │ ├── funky2.c │ ├── funky3.c │ ├── funky4.c │ ├── funky_strcat1.c │ ├── gcc2_Bool.i │ ├── gcc_Bool.i │ ├── gcc_Bool_member.i │ ├── gcc_assert_fail.i │ ├── gcc_assert_fail2.i │ ├── gcc_pretty.i │ ├── globaldef1.c │ ├── grouping_method.cc │ ├── heap_cdtor1.cc │ ├── heap_cdtor2.cc │ ├── heap_cdtor3.cc │ ├── heapify1.c │ ├── heapify1.c.patch.cor │ ├── heapify2.c │ ├── heapify2.c.patch.cor │ ├── heapify3.c │ ├── heapify3.c.patch.cor │ ├── heapify3.i │ ├── hello.cc │ ├── hello2.cc │ ├── hello3.i │ ├── hello3.mod │ ├── helloA.c │ ├── hello_stack_access.c │ ├── horrible1.cc │ ├── horrible1_noqual.cc │ ├── hsa1.c │ ├── hsa1.c.patch.cor │ ├── hsa1_b.c.cor │ ├── immediate_cdtor1.cc │ ├── immediate_cdtor2.cc │ ├── immediate_cdtor2b.cc │ ├── immediate_cdtor3.cc │ ├── impl_int_fail1.c │ ├── impl_int_param_decl.c │ ├── impl_int_s_decl.c │ ├── impl_int_tf_decl.c │ ├── impl_ret_int.i │ ├── impl_ret_int_kandr.i │ ├── implicit1.cc │ ├── implicit2.cc │ ├── inc_ref.cc │ ├── inconsistent_func_return_compound1.cc │ ├── inconsistent_func_type_param1.c │ ├── inconsistent_func_type_param2.c │ ├── inconsistent_func_type_param3.c │ ├── inconsistent_func_type_param4.c │ ├── inconsistent_func_type_param5.c │ ├── inconsistent_func_type_param6.c │ ├── inconsistent_func_type_param7.c │ ├── inconsistent_func_type_param8.c │ ├── inconsistent_function1a.c │ ├── inconsistent_function1b.cc │ ├── inconsistent_implicit1a.cc │ ├── inconsistent_implicit1b.cc │ ├── inherit0.ii │ ├── init_from_array_const.i │ ├── inline1a.cc │ ├── inline1b.cc │ ├── inline2a.cc │ ├── inline2b.cc │ ├── inline3a.cc │ ├── inline3b.cc │ ├── inline4a.cc │ ├── inline4b.cc │ ├── inline5a.c │ ├── inline5b.c │ ├── inline6a.c │ ├── inline6b.c │ ├── inline_asm1.cc │ ├── inline_asm2.cc │ ├── inst_sens_cpdinit1.c │ ├── inst_sens_srz_a.c │ ├── inst_sens_srz_b.c │ ├── instance_sensitive0.cc │ ├── instance_sensitive1.cc │ ├── instance_sensitive2a.cc │ ├── instance_sensitive2b.cc │ ├── instance_sensitive2c.cc │ ├── instance_sensitive3.i │ ├── instance_sensitive_demo.c │ ├── instance_sensitive_srz1a.c │ ├── instance_sensitive_srz2a.c │ ├── instance_sensitive_srz2b.c │ ├── instance_sensitive_srz3a.c │ ├── instance_sensitive_srz3b.c │ ├── instance_sensitive_srz4a.c │ ├── instance_sensitive_srz4b.c │ ├── instantiate1a.cc │ ├── instantiate1b.cc │ ├── int_as_void_star_poly1.cc │ ├── int_as_void_star_poly1call.cc │ ├── int_as_void_star_poly2.cc │ ├── int_as_void_star_poly2call.cc │ ├── int_as_void_star_poly3.cc │ ├── int_as_void_star_poly4a.cc │ ├── int_as_void_star_poly4b.cc │ ├── int_as_void_star_poly4c.cc │ ├── int_as_void_star_poly4d.cc │ ├── int_as_void_star_poly5a.c │ ├── int_as_void_star_poly5b.c │ ├── intro_fun_call1.c │ ├── intro_fun_call1.c.patch.cor │ ├── kandr_call_undeclared_func.i │ ├── kandr_empty_args_def.i │ ├── kandr_func_def.i │ ├── kandr_func_param.c │ ├── kandr_impl_int_param.c │ ├── kandrdecl1.c │ ├── kandrfunc1.c │ ├── kandrfunc2.c │ ├── kernel1.c │ ├── kernel1.c.cor │ ├── keywords1.cc │ ├── lattice1 │ ├── launder.c │ ├── launder_array.c │ ├── lib_bar3.i │ ├── lib_foo_simple1.i │ ├── lib_foo_simple1_foo.mod │ ├── lib_foo_simple1_hello.mod │ ├── link_inline1a.cc │ ├── link_inline1b.cc │ ├── link_pure_virtual1.cc │ ├── link_static1.cc │ ├── link_static2.cc │ ├── link_template_function_inst1a.cc │ ├── link_template_function_inst1b.cc │ ├── linkage1.c │ ├── linker1.cc │ ├── linker1.cc.cor │ ├── linker1.cc.prelude.cor │ ├── linker2.cc │ ├── linker_prelude1.cc │ ├── linker_resolve_vars1a.c │ ├── linker_resolve_vars1b.c │ ├── linker_resolve_vars2.c │ ├── linker_visible1.c │ ├── localize1.c.patch.cor │ ├── main_externc1a.cc │ ├── main_externc1b.c │ ├── max_errors1.ii │ ├── memberInit_cdtor1.cc │ ├── memberInit_cdtor1b.cc │ ├── memberInit_cdtor2.cc │ ├── memberInit_cdtor2_1.cc │ ├── memberInit_cdtor2_1b.cc │ ├── memberInit_cdtor2b.cc │ ├── memberInit_cdtor3.cc │ ├── memberInit_cdtor3b.cc │ ├── memcpy1.c │ ├── memcpy_struct.c │ ├── meth_param_by_value.cc │ ├── method_call1.cc │ ├── method_call10a.cc │ ├── method_call10b.cc │ ├── method_call11a.cc │ ├── method_call11b.cc │ ├── method_call12a.cc │ ├── method_call12b.cc │ ├── method_call13.cc │ ├── method_call2.cc │ ├── method_call3.cc │ ├── method_call3g.cc │ ├── method_call4.cc │ ├── method_call5.cc │ ├── method_call6.cc │ ├── method_call7.cc │ ├── method_call8.cc │ ├── method_call9.cc │ ├── min1_d0008.cc │ ├── mismatched_funcptr_param1.c │ ├── mismatched_funcptr_param1b.c │ ├── mismatched_funcptr_param2.c │ ├── mismatched_funcptr_param2b.c │ ├── mod_access_hello.c │ ├── mod_access_hello_bad.mod │ ├── mod_access_hello_good.mod │ ├── mod_bar.mod │ ├── mod_baz.mod │ ├── mod_foo.mod │ ├── mod_foo_dupl.mod │ ├── mod_gronk.cc │ ├── mod_gronk.h │ ├── mod_gronk.ii │ ├── mod_gronk.mod │ ├── mod_gronk_baz.ii │ ├── mod_gronk_baz2.ii │ ├── mod_gronk_baz_access_class.ii │ ├── mod_gronk_baz_array.ii │ ├── mod_gronk_baz_method.ii │ ├── mod_gronk_baz_method2.ii │ ├── mod_gronk_baz_new.ii │ ├── mod_gronk_other.cc │ ├── mod_gronk_other.mod │ ├── mod_lib_foo.c │ ├── mod_trust_bar.c │ ├── mod_trust_hello.c │ ├── mod_trust_hello_bad.mod │ ├── mod_trust_hello_good.mod │ ├── mod_waga.mod │ ├── mod_write_hello.c │ ├── mod_write_hello_bad.mod │ ├── mod_write_hello_good.mod │ ├── mod_write_hello_stack.c │ ├── mod_write_hello_stack_bad.mod │ ├── mod_write_hello_stack_good.mod │ ├── multi1.in │ ├── multi1_a.c │ ├── multi1_b.c │ ├── multi2_a.c │ ├── multi2_b.c │ ├── multi3_a.c │ ├── multi3_b.c │ ├── multi4_a.c │ ├── multi4_b.c │ ├── multi5_a.c │ ├── multi5_b.c │ ├── multi_enum1a.cc │ ├── multi_enum1b.cc │ ├── multi_semi_member.cc │ ├── namespace_static1.cc │ ├── nested_func.cc │ ├── nested_func1.cc │ ├── nested_func2.cc │ ├── nested_no_def_constr1.cc │ ├── new1.cc │ ├── no_candidate1.cc │ ├── non-compound_IN_ctor1.cc │ ├── non-compound_IN_ctor2.cc │ ├── non-compound_IN_ctor3.cc │ ├── non-compound_IN_ctor4.cc │ ├── nonfunc_cast_to_func1.cc │ ├── nonfunc_cast_to_func2.cc │ ├── noparam_cast1.c │ ├── noparam_compound1.c │ ├── nosize_array_init.c │ ├── nosize_array_init.c.cor │ ├── null.c │ ├── nvar_bad1.c │ ├── nvar_bad2.c │ ├── nvar_bad3.c │ ├── nvar_good1.c │ ├── oink_link_unsat1.cc │ ├── oldstyle-ellipsis1.c │ ├── oldstyle-too-many-args1.c │ ├── oldstyle-with-no-proto2.c │ ├── open_array.cc │ ├── operator_assign1.cc │ ├── operator_bracket.ii │ ├── operator_newdel1.cc │ ├── outlined_template_dtor1.cc │ ├── overload_E_constructor.cc │ ├── overload_E_new.cc │ ├── overload_IN_ctor.cc │ ├── overload_MemberInit1.cc │ ├── overload_MemberInit2.cc │ ├── overload_global.cc │ ├── overload_implicit_copy_assign1.cc │ ├── overload_implicit_copy_ctor1.cc │ ├── overload_implicit_dtor1.cc │ ├── overload_method.cc │ ├── overload_oper1.cc │ ├── overload_oper2.cc │ ├── overload_static_member.cc │ ├── parse_mess1.cc │ ├── parse_mess1.cc.correct │ ├── parse_mess2.cc │ ├── parse_mess2.cc.correct │ ├── pass1.cc │ ├── pass2.cc │ ├── pass2int.cc │ ├── pass_struct.c │ ├── poly1.c │ ├── poly4.c │ ├── poly_global1.cc │ ├── poly_global2.cc │ ├── polydecl3B.c │ ├── polydeclB.c │ ├── poor_mans_ctor.c │ ├── prelude1.c │ ├── prelude2.c │ ├── prelude_A0.c │ ├── prelude_A01.c │ ├── prelude_A02.c │ ├── prelude_A0a.c │ ├── prelude_A0b.c │ ├── prelude_A1.c │ ├── prelude_A2.c │ ├── prelude_A3.c │ ├── prelude_A4a.c │ ├── prelude_A4b.c │ ├── prelude_A4b.ctl │ ├── print_trans_qual1.cc │ ├── ptr-to-member-cast1.cc │ ├── ptr-to-member1-B.cc │ ├── ptr-to-member1-B_dot.cc │ ├── ptr-to-member1.cc │ ├── ptr-to-member1M.cc │ ├── ptr-to-member1P.cc │ ├── ptr-to-member1S.cc │ ├── ptr-to-member1Sd.cc │ ├── ptr-to-member1_dot.cc │ ├── ptr-to-member1d-B.cc │ ├── ptr-to-member1d-B_dot.cc │ ├── ptr-to-member1d.cc │ ├── ptr-to-member1d_dot.cc │ ├── ptr-to-member2.cc │ ├── ptr-to-member3-B.cc │ ├── ptr-to-member3-B_dot.cc │ ├── ptr-to-member3.cc │ ├── ptr-to-member3_dot.cc │ ├── ptr-to-member3d-B.cc │ ├── ptr-to-member3d-B_dot.cc │ ├── ptr-to-member3d.cc │ ├── ptr-to-member3d_dot.cc │ ├── ptr-to-member9.cc │ ├── ptr-to-memberI.cc │ ├── ptr-to-memberI2.cc │ ├── ref1.c │ ├── repeated.i │ ├── return1.cc │ ├── return2.cc │ ├── return3.cc │ ├── return_func1.c │ ├── return_struct_fs.c │ ├── return_struct_ptr.c │ ├── rich_mans_copy_assign.cc │ ├── rich_mans_copy_assign_b.cc │ ├── rich_mans_copy_ctor.cc │ ├── rich_mans_copy_ctor_b.cc │ ├── rich_mans_ctor.cc │ ├── rich_mans_ctor_b.cc │ ├── rich_mans_method.cc │ ├── rich_mans_method_b.cc │ ├── rich_mans_method_c.cc │ ├── segfault1.c │ ├── set_cv.cc │ ├── simple1.c │ ├── simple1.ctl │ ├── simple2.c │ ├── simple4.c │ ├── simple5.c │ ├── simple_str.c │ ├── sizelessarray1.cc │ ├── ssh1.c │ ├── stack_alloc1.cc │ ├── stack_alloc1.cc.cor │ ├── stack_alloc2.cc │ ├── stack_alloc2.cc.cor │ ├── stack_alloc_parse_qual.cc │ ├── stack_cdtor1.cc │ ├── stack_cdtor2.cc │ ├── stackness0.c │ ├── stackness1.c │ ├── stackness2.c │ ├── stackness3.c │ ├── stackness4.c │ ├── static1.c │ ├── static2.c │ ├── staticprint1.cc │ ├── stkvarreg_bad1.c │ ├── stkvarreg_bad10.c │ ├── stkvarreg_bad11.c │ ├── stkvarreg_bad12.c │ ├── stkvarreg_bad13.c │ ├── stkvarreg_bad2.c │ ├── stkvarreg_bad3.c │ ├── stkvarreg_bad4.c │ ├── stkvarreg_bad5.c │ ├── stkvarreg_bad6.c │ ├── stkvarreg_bad7.c │ ├── stkvarreg_bad8.c │ ├── stkvarreg_bad9.c │ ├── stkvarreg_good1.c │ ├── stmt_expr_no_edge.i │ ├── strict_const1.c │ ├── strlit_newline1.c │ ├── struct_sizeof.c │ ├── struct_sizeof.c.correct │ ├── struct_statement_expr1.c │ ├── t1000.cc │ ├── t1001.cc │ ├── t1001c.cc │ ├── t1001d.cc │ ├── t1001e.cc │ ├── t1002.cc │ ├── t1002b.cc │ ├── t1003.cc │ ├── t1004.cc │ ├── t1004b.cc │ ├── t1004c.cc │ ├── t1005.cc │ ├── t1005b.cc │ ├── t1005c.cc │ ├── t1005d.cc │ ├── t1006.cc │ ├── t1006b.cc │ ├── t1007.cc │ ├── t1008.cc │ ├── t1009.cc │ ├── t1010.cc │ ├── t1011.cc │ ├── t1012.cc │ ├── t1013.cc │ ├── t1014.cc │ ├── t1015.cc │ ├── t1200ptrfuncall.c │ ├── t1202ptrfuncall.c │ ├── t1203ptrfuncall.c │ ├── t1204ptrfuncall.c │ ├── t1210simple.c │ ├── t1211simple.c │ ├── t1220init.c │ ├── t1221funcall.c │ ├── t1222funptr.c │ ├── t1223cast.c │ ├── t1300_args.c │ ├── t1301_args.c │ ├── t1302_args.c │ ├── t1303_args.c │ ├── t1310_varargs.c │ ├── t1311_varargs.c │ ├── t1312_varargs.c │ ├── t1313_varargs.c │ ├── t1320_voidarg.c │ ├── t1330_cast.c │ ├── t1340_const.c │ ├── t1341_const.c │ ├── t1342_const.c │ ├── t1343_const.c │ ├── t1350_ref.cc │ ├── t1351_ref.cc │ ├── t1352_ref.cc │ ├── t1353_ref.cc │ ├── t1354_ref.cc │ ├── taint.cc │ ├── taint0.c │ ├── taint1.c │ ├── taint2_a.c │ ├── taint2_b.c │ ├── taintA.c │ ├── taintB.c │ ├── tb2000fail.c │ ├── tb2000fail.c.correct │ ├── tb2010array_assign.c │ ├── tb2020cast.c │ ├── tb2021cast.c │ ├── tb2030pointer_assign.c │ ├── tb2040taint.c │ ├── tb2040taint.c.correct │ ├── template_class1.cc │ ├── template_class2.cc │ ├── template_class2_forward1.cc │ ├── template_class2_multiple.cc │ ├── template_class3_partial_array.cc │ ├── template_class3_partial_cvatomic.cc │ ├── template_class3_partial_function.cc │ ├── template_class3_partial_int.cc │ ├── template_class3_partial_pointer.cc │ ├── template_class3_partial_ptr-to-mem.cc │ ├── template_class3_partial_ptr-to-mem2.cc │ ├── template_class3_partial_ref.cc │ ├── template_class4_func_defafteruse1.cc │ ├── template_class4_func_defafteruse2.cc │ ├── template_class4_func_defafteruse3.cc │ ├── template_class4_func_fwd1.cc │ ├── template_class4_func_fwd2.cc │ ├── template_class4_func_fwd3.cc │ ├── template_class_member_srz1.cc │ ├── template_constr1.cc │ ├── template_default1.cc │ ├── template_default2.cc │ ├── template_dep_resrz1.cc │ ├── template_extern_srz1.cc │ ├── template_func1.cc │ ├── template_func2.cc │ ├── template_func2_multiple.cc │ ├── template_func3_partial.cc │ ├── template_func4_overload.cc │ ├── template_func5_arg_deduce1.cc │ ├── template_func5_arg_deduce2.cc │ ├── template_func5_arg_deduce3.cc │ ├── template_func5_arg_deduce4.cc │ ├── template_func6_defafteruse1.cc │ ├── template_func6_defafteruse2.cc │ ├── template_func6_defafteruse3.cc │ ├── template_func6_defafteruse4.cc │ ├── template_func6_fwd1.cc │ ├── template_func6_recursive1.cc │ ├── template_func6_recursive3.cc │ ├── template_func6_recursive4.cc │ ├── template_func7_oload1.cc │ ├── template_func7_oload2.cc │ ├── template_func7_oload3.cc │ ├── template_func7_oload4.cc │ ├── template_func7_oload5.cc │ ├── template_func7_oload6.cc │ ├── template_func8.cc │ ├── template_impl_addrof_func1.cc │ ├── template_inner_default1.cc │ ├── template_instant1a.cc │ ├── template_instant1b.cc │ ├── template_instant2a.cc │ ├── template_instant2b.cc │ ├── template_static_member1a.cc │ ├── template_static_member1b.cc │ ├── templatized_on_func1.cc │ ├── templatized_on_func2.cc │ ├── tertiary_cast_func_ptr.c │ ├── test1.digraph │ ├── test1.digraph.cor │ ├── this_var.i │ ├── tmpimused_bad1.c │ ├── tmpimused_bad2.c │ ├── tmpimused_bad3.c │ ├── tmpimused_good1.c │ ├── too_many_initializers1.c │ ├── transparent_union1.c │ ├── typedef1.c │ ├── typeof_undefined1.c │ ├── unprototyped1a.c │ ├── unprototyped1b.c │ ├── unprototyped2a.c │ ├── unprototyped3a.c │ ├── unprototyped4a.c │ ├── unprototyped4b.c │ ├── unprototyped5a.c │ ├── unprototyped5b.c │ ├── unprototyped6.c │ ├── unsat_symbol1.c │ ├── unsat_symbol2.c │ ├── unsat_symbol3a.c │ ├── unsat_symbol3b.c │ ├── unsat_symbol3c.c │ ├── unsat_symbol3c.ctl │ ├── unsat_symbol3c2.ctl │ ├── unsat_symbol3c2bar.ctl │ ├── unsat_symbol3c3.ctl │ ├── unsat_symbol3c4.ctl │ ├── unsat_symbol3d.c │ ├── unsat_symbol4.cc │ ├── unsat_symbol5a.cc │ ├── unsat_symbol5b.cc │ ├── unsat_symbol5c.cc │ ├── unsat_symbol5c.ctl │ ├── usedindataflow1.cc │ ├── using_alias1a.cc │ ├── using_alias1b.cc │ ├── vararg_copy1.c │ ├── vararg_copy2.c │ ├── vararg_input1.c │ ├── vararg_input2.c │ ├── vararg_output1.c │ ├── vararg_valist1.c │ ├── varargs1.c │ ├── varargs2.c │ ├── varargs2B.c │ ├── varargs3B.c │ ├── varargs3C.c │ ├── varargsA1.c │ ├── varargsB1.c │ ├── varargsC1.c │ ├── varargsC2.c │ ├── varargsD1.c │ ├── varargsE.i │ ├── verify1.c.patch.cor │ ├── verify1_bar.c │ ├── verify1_bar.i │ ├── verify1_bar.mod │ ├── verify1_foo.c │ ├── verify1_foo.h │ ├── verify1_foo.i │ ├── verify1_foo.mod │ ├── virtual1.cc │ ├── virtual2.cc │ ├── virtual3.cc │ ├── virtual4.cc │ ├── virtual5.cc │ ├── virtual6.cc │ ├── virtual7.cc │ ├── virtual7b.cc │ ├── void_auto_union.c │ ├── void_nonfs1.cc │ ├── void_nonfs2.cc │ ├── void_nonfs3.cc │ ├── void_poly_demo.c │ ├── void_star_func.i │ ├── void_star_poly1.cc │ ├── void_star_poly1call.cc │ ├── void_star_poly2.cc │ ├── void_star_poly2call.cc │ ├── void_star_poly3_typedef.cc │ ├── void_star_to_double_ptr.i │ ├── void_star_to_func.i │ ├── volatile1.c │ ├── waga_stack_access.c │ ├── warn_unsound1.cc │ ├── warn_unsound1.ctl │ ├── warn_unsound2.cc │ ├── weak1.ctl │ ├── weak1a.cc │ ├── weak1b.cc │ └── weak2.ctl ├── alloc.h ├── alloc_test.cc ├── archive_srz.cc ├── archive_srz.h ├── archive_srz_format.cc ├── archive_srz_format.h ├── archive_srz_test.cc ├── bullet.cc ├── bullet.h ├── bullet_cmd.cc ├── bullet_cmd.h ├── bullet_global.cc ├── bullet_global.h ├── bullet_main.cc ├── bullet_test.incl.mk ├── cc_print.cc.cpatch ├── cc_print.h.cpatch ├── cc_type.h.cpatch ├── cfgprint.cc ├── cfgprint.h ├── cfgprint_cmd.cc ├── cfgprint_cmd.h ├── cfgprint_global.cc ├── cfgprint_global.h ├── cfgprint_main.cc ├── cfgprint_test.incl.mk ├── configure ├── configure-check-libzipios ├── configure.pl ├── coroutine.h ├── cpdinit_headers.h ├── cpdinit_test.cc ├── cpdinit_test.h ├── cpdinit_test.incl.mk ├── cpdinit_test_clbk.cc ├── cpdinit_test_clbk.h ├── cpdinit_test_main.cc ├── cpdinit_test_visitor.cc ├── cpdinit_test_visitor.h ├── cxxcoroutine.h ├── dataflow_cpdinit_clbk.cc ├── dataflow_cpdinit_clbk.h ├── dataflow_ex.cc ├── dataflow_ex.h ├── dataflow_ty.cc ├── dataflow_ty.h ├── dataflow_visitor.cc ├── dataflow_visitor.h ├── dbg_util.cc ├── dfgprint.cc ├── dfgprint.h ├── dfgprint_cmd.cc ├── dfgprint_cmd.h ├── dfgprint_global.cc ├── dfgprint_global.h ├── dfgprint_main.cc ├── dfgprint_test.incl.mk ├── digraph_component ├── elsa_tests.gen.incl.mk ├── elsa_tests_get ├── elsa_tests_omit.files ├── libc_missing.cc ├── libc_missing.h ├── massif ├── module_make_lattice ├── oink.ast ├── oink.cc ├── oink.gr ├── oink.h ├── oink_ast_aux.cc ├── oink_cmd.cc ├── oink_cmd.h ├── oink_cmd_util.h ├── oink_control.cc ├── oink_control.h ├── oink_debug.h ├── oink_ext.lex ├── oink_ext.tok ├── oink_file.cc ├── oink_file.h ├── oink_global.cc ├── oink_global.h ├── oink_integrity.cc ├── oink_integrity.h ├── oink_main.cc ├── oink_tcheck.cc ├── oink_tcheck_env.cc ├── oink_tcheck_env.h ├── oink_tcheck_env_clbk.cc ├── oink_tcheck_env_clbk.h ├── oink_test.incl.mk ├── oink_type.cc ├── oink_type.h ├── oink_type_children.cc ├── oink_type_children.h ├── oink_util.cc ├── oink_util.h ├── oink_var.cc ├── oink_var.h ├── oink_xml_type_id.h ├── proquint.c ├── proquint.h ├── proquint_License.txt ├── qual.ast ├── qual.cc ├── qual.gr ├── qual.h ├── qual_annot.cc ├── qual_annot.h ├── qual_ast_aux.cc ├── qual_ast_aux.h ├── qual_cmd.cc ├── qual_cmd.h ├── qual_dataflow_ex.cc ├── qual_dataflow_ex.h ├── qual_dataflow_ty.cc ├── qual_dataflow_ty.h ├── qual_dataflow_visitor.cc ├── qual_dataflow_visitor.h ├── qual_ext.lex ├── qual_ext.tok ├── qual_funky.cc ├── qual_funky.h ├── qual_global.cc ├── qual_global.h ├── qual_graph_component ├── qual_graph_prune_empty ├── qual_libqual_iface.cc ├── qual_libqual_iface.h ├── qual_libqual_iface0.h ├── qual_literal.cc ├── qual_literal.h ├── qual_main.cc ├── qual_module_test.incl.mk ├── qual_parse_test.incl.mk ├── qual_result_test.incl.mk ├── qual_serialization_test.incl.mk ├── qual_taintXcasts.lattice ├── qual_test.incl.mk ├── qual_test_big.incl.mk ├── qual_value_children.cc ├── qual_value_children.h ├── qual_value_print.cc ├── qual_value_print.h ├── qual_var.cc ├── qual_var.h ├── qual_xml_value_reader.cc ├── qual_xml_value_reader.h ├── qual_xml_value_writer.cc ├── qual_xml_value_writer.h ├── region_cxx.cc ├── revcp ├── slock.h ├── staticprint.cc ├── staticprint.h ├── staticprint_cmd.cc ├── staticprint_cmd.h ├── staticprint_global.cc ├── staticprint_global.h ├── staticprint_main.cc ├── staticprint_test.incl.mk ├── test_filter ├── value.ast ├── value.cc ├── value.h ├── value_ast_visitor.cc ├── value_ast_visitor.h ├── value_print.cc ├── value_print.h ├── warning_mgr.cc ├── warning_mgr.h ├── xform.cc ├── xform.h ├── xform_cmd.cc ├── xform_cmd.h ├── xform_global.cc ├── xform_global.h ├── xform_main.cc ├── xform_test.incl.mk ├── xlz_grep_clsdef.py ├── xlz_incl_lm.py ├── xlz_inst_clsids.py ├── xlz_inst_lm.py ├── xlz_lib.py ├── xlz_which_cls_where.py ├── xml_canonicalize ├── xml_type_id.h.cpatch ├── xml_value.tokens ├── xml_value_reader.cc ├── xml_value_reader.h ├── xml_value_writer.cc └── xml_value_writer.h ├── platform-model ├── .gitignore ├── Makefile ├── Makefile.src.incl ├── README ├── TODO ├── configure ├── cpp-extra ├── doc │ ├── README.txt │ ├── archive_srz.txt │ ├── builtins.txt │ └── gcc.txt ├── include │ ├── glibc-fs │ ├── prelude-cxx.h │ └── prelude.h ├── libc_glibc-2.3.5 │ ├── Makefile │ ├── src │ │ ├── Makefile │ │ ├── Manifest │ │ ├── _G_config.c │ │ ├── _main.c │ │ ├── aio.c │ │ ├── aliases.c │ │ ├── alloca.c │ │ ├── ar.c │ │ ├── argp.c │ │ ├── argz.c │ │ ├── arpa │ │ │ ├── Makefile │ │ │ ├── ftp.c │ │ │ ├── inet.c │ │ │ ├── nameser.c │ │ │ ├── nameser_compat.c │ │ │ ├── telnet.c │ │ │ └── tftp.c │ │ ├── assert.c │ │ ├── bits │ │ │ ├── Makefile │ │ │ ├── a.out.c │ │ │ ├── byteswap.c │ │ │ ├── cmathcalls.c │ │ │ ├── confname.c │ │ │ ├── dirent.c │ │ │ ├── dlfcn.c │ │ │ ├── elfclass.c │ │ │ ├── endian.c │ │ │ ├── environments.c │ │ │ ├── errno.c │ │ │ ├── fcntl.c │ │ │ ├── fenv.c │ │ │ ├── fenvinline.c │ │ │ ├── huge_val.c │ │ │ ├── in.c │ │ │ ├── initspin.c │ │ │ ├── ioctl-types.c │ │ │ ├── ioctls.c │ │ │ ├── ipc.c │ │ │ ├── ipctypes.c │ │ │ ├── libc-lock.c │ │ │ ├── local_lim.c │ │ │ ├── locale.c │ │ │ ├── mathcalls.c │ │ │ ├── mathdef.c │ │ │ ├── mathinline.c │ │ │ ├── mman.c │ │ │ ├── msq.c │ │ │ ├── nan.c │ │ │ ├── netdb.c │ │ │ ├── poll.c │ │ │ ├── posix1_lim.c │ │ │ ├── posix2_lim.c │ │ │ ├── posix_opt.c │ │ │ ├── pthreadtypes.c │ │ │ ├── resource.c │ │ │ ├── sched.c │ │ │ ├── select.c │ │ │ ├── sem.c │ │ │ ├── setjmp.c │ │ │ ├── shm.c │ │ │ ├── sigaction.c │ │ │ ├── sigcontext.c │ │ │ ├── siginfo.c │ │ │ ├── signum.c │ │ │ ├── sigset.c │ │ │ ├── sigstack.c │ │ │ ├── sigthread.c │ │ │ ├── sockaddr.c │ │ │ ├── socket.c │ │ │ ├── stat.c │ │ │ ├── statfs.c │ │ │ ├── statvfs.c │ │ │ ├── stdio-lock.c │ │ │ ├── stdio.c │ │ │ ├── stdio_lim.c │ │ │ ├── string.c │ │ │ ├── string2.c │ │ │ ├── stropts.c │ │ │ ├── sys_errlist.c │ │ │ ├── syscall.c │ │ │ ├── termios.c │ │ │ ├── time.c │ │ │ ├── types.c │ │ │ ├── typesizes.c │ │ │ ├── uio.c │ │ │ ├── ustat.c │ │ │ ├── utmp.c │ │ │ ├── utmpx.c │ │ │ ├── utsname.c │ │ │ ├── waitflags.c │ │ │ ├── waitstatus.c │ │ │ ├── wchar.c │ │ │ ├── wordsize.c │ │ │ ├── xopen_lim.c │ │ │ └── xtitypes.c │ │ ├── builtin-declarations.h │ │ ├── builtin-definitions.c │ │ ├── builtin-t.h │ │ ├── byteswap.c │ │ ├── complex.c │ │ ├── cpio.c │ │ ├── crypt.c │ │ ├── ctype.c │ │ ├── dirent.c │ │ ├── dlfcn.c │ │ ├── elf.c │ │ ├── endian.c │ │ ├── envz.c │ │ ├── err.c │ │ ├── errno.c │ │ ├── error.c │ │ ├── execinfo.c │ │ ├── fcntl.c │ │ ├── features.c │ │ ├── fenv.c │ │ ├── fmtmsg.c │ │ ├── fnmatch.c │ │ ├── fpu_control.c │ │ ├── fstab.c │ │ ├── fts.c │ │ ├── ftw.c │ │ ├── gconv.c │ │ ├── getopt.c │ │ ├── glob.c │ │ ├── gnu-versions.c │ │ ├── gnu │ │ │ ├── Makefile │ │ │ ├── lib-names.c │ │ │ ├── libc-version.c │ │ │ └── stubs.c │ │ ├── grp.c │ │ ├── iconv.c │ │ ├── ieee754.c │ │ ├── ifaddrs.c │ │ ├── inttypes.c │ │ ├── langinfo.c │ │ ├── lastlog.c │ │ ├── libgen.c │ │ ├── libintl.c │ │ ├── libio.c │ │ ├── limits.c │ │ ├── link.c │ │ ├── linux │ │ │ ├── kernel.c │ │ │ └── security.c │ │ ├── locale.c │ │ ├── malloc.c │ │ ├── math.c │ │ ├── mcheck.c │ │ ├── memory.c │ │ ├── mntent.c │ │ ├── monetary.c │ │ ├── net │ │ │ ├── Makefile │ │ │ ├── ethernet.c │ │ │ ├── if.c │ │ │ ├── if_arp.c │ │ │ ├── if_packet.c │ │ │ ├── if_ppp.c │ │ │ ├── if_shaper.c │ │ │ ├── if_slip.c │ │ │ ├── ppp-comp.c │ │ │ ├── ppp_defs.c │ │ │ └── route.c │ │ ├── netash │ │ │ ├── Makefile │ │ │ └── ash.c │ │ ├── netatalk │ │ │ ├── Makefile │ │ │ └── at.c │ │ ├── netax25 │ │ │ ├── Makefile │ │ │ └── ax25.c │ │ ├── netdb.c │ │ ├── neteconet │ │ │ ├── Makefile │ │ │ └── ec.c │ │ ├── netinet │ │ │ ├── Makefile │ │ │ ├── ether.c │ │ │ ├── icmp6.c │ │ │ ├── if_ether.c │ │ │ ├── if_fddi.c │ │ │ ├── if_tr.c │ │ │ ├── igmp.c │ │ │ ├── in.c │ │ │ ├── in_systm.c │ │ │ ├── ip.c │ │ │ ├── ip6.c │ │ │ ├── ip_icmp.c │ │ │ ├── tcp.c │ │ │ └── udp.c │ │ ├── netipx │ │ │ ├── Makefile │ │ │ └── ipx.c │ │ ├── netpacket │ │ │ ├── Makefile │ │ │ └── packet.c │ │ ├── netrom │ │ │ ├── Makefile │ │ │ └── netrom.c │ │ ├── netrose │ │ │ ├── Makefile │ │ │ └── rose.c │ │ ├── nfs │ │ │ ├── Makefile │ │ │ └── nfs.c │ │ ├── nl_types.c │ │ ├── nss.c │ │ ├── obstack.c │ │ ├── paths.c │ │ ├── poll.c │ │ ├── printf.c │ │ ├── protocols │ │ │ ├── Makefile │ │ │ ├── routed.c │ │ │ ├── rwhod.c │ │ │ ├── talkd.c │ │ │ └── timed.c │ │ ├── pthread.c │ │ ├── pty.c │ │ ├── pwd.c │ │ ├── re_comp.c │ │ ├── real_builtins │ │ ├── regex.c │ │ ├── regexp.c │ │ ├── resolv.c │ │ ├── rpc │ │ │ ├── Makefile │ │ │ ├── auth.c │ │ │ ├── auth_des.c │ │ │ ├── auth_unix.c │ │ │ ├── clnt.c │ │ │ ├── des_crypt.c │ │ │ ├── key_prot.c │ │ │ ├── netdb.c │ │ │ ├── pmap_clnt.c │ │ │ ├── pmap_prot.c │ │ │ ├── pmap_rmt.c │ │ │ ├── rpc.c │ │ │ ├── rpc_des.c │ │ │ ├── rpc_msg.c │ │ │ ├── svc.c │ │ │ ├── svc_auth.c │ │ │ ├── types.c │ │ │ └── xdr.c │ │ ├── rpcsvc │ │ │ ├── Makefile │ │ │ ├── bootparam.c │ │ │ ├── bootparam_prot.c │ │ │ ├── key_prot.c │ │ │ ├── klm_prot.c │ │ │ ├── mount.c │ │ │ ├── nfs_prot.c │ │ │ ├── nis.c │ │ │ ├── nis_callback.c │ │ │ ├── nis_tags.c │ │ │ ├── nislib.c │ │ │ ├── nlm_prot.c │ │ │ ├── rex.c │ │ │ ├── rquota.c │ │ │ ├── rstat.c │ │ │ ├── rusers.c │ │ │ ├── sm_inter.c │ │ │ ├── spray.c │ │ │ ├── yp.c │ │ │ ├── yp_prot.c │ │ │ ├── ypclnt.c │ │ │ ├── yppasswd.c │ │ │ └── ypupd.c │ │ ├── sched.c │ │ ├── scsi │ │ │ ├── Makefile │ │ │ ├── scsi.c │ │ │ ├── scsi_ioctl.c │ │ │ └── sg.c │ │ ├── search.c │ │ ├── semaphore.c │ │ ├── setjmp.c │ │ ├── sgtty.c │ │ ├── shadow.c │ │ ├── signal.c │ │ ├── spawn.c │ │ ├── stab.c │ │ ├── stdint.c │ │ ├── stdio.c │ │ ├── stdio_ext.c │ │ ├── stdlib.c │ │ ├── string.c │ │ ├── strings.c │ │ ├── stropts.c │ │ ├── sys │ │ │ ├── Makefile │ │ │ ├── acct.c │ │ │ ├── bitypes.c │ │ │ ├── cdefs.c │ │ │ ├── debugreg.c │ │ │ ├── dir.c │ │ │ ├── elf.c │ │ │ ├── epoll.c │ │ │ ├── errno.c │ │ │ ├── fcntl.c │ │ │ ├── file.c │ │ │ ├── fsuid.c │ │ │ ├── gmon.c │ │ │ ├── gmon_out.c │ │ │ ├── io.c │ │ │ ├── ioctl.c │ │ │ ├── ipc.c │ │ │ ├── kd.c │ │ │ ├── kdaemon.c │ │ │ ├── klog.c │ │ │ ├── mman.c │ │ │ ├── mount.c │ │ │ ├── msg.c │ │ │ ├── mtio.c │ │ │ ├── param.c │ │ │ ├── pci.c │ │ │ ├── perm.c │ │ │ ├── personality.c │ │ │ ├── poll.c │ │ │ ├── prctl.c │ │ │ ├── procfs.c │ │ │ ├── profil.c │ │ │ ├── ptrace.c │ │ │ ├── queue.c │ │ │ ├── quota.c │ │ │ ├── raw.c │ │ │ ├── reboot.c │ │ │ ├── reg.c │ │ │ ├── resource.c │ │ │ ├── select.c │ │ │ ├── sem.c │ │ │ ├── sendfile.c │ │ │ ├── shm.c │ │ │ ├── signal.c │ │ │ ├── socket.c │ │ │ ├── socketvar.c │ │ │ ├── soundcard.c │ │ │ ├── stat.c │ │ │ ├── statfs.c │ │ │ ├── statvfs.c │ │ │ ├── stropts.c │ │ │ ├── swap.c │ │ │ ├── syscall.c │ │ │ ├── sysctl.c │ │ │ ├── sysinfo.c │ │ │ ├── syslog.c │ │ │ ├── sysmacros.c │ │ │ ├── termios.c │ │ │ ├── time.c │ │ │ ├── timeb.c │ │ │ ├── times.c │ │ │ ├── timex.c │ │ │ ├── ttychars.c │ │ │ ├── ttydefaults.c │ │ │ ├── types.c │ │ │ ├── ucontext.c │ │ │ ├── uio.c │ │ │ ├── ultrasound.c │ │ │ ├── un.c │ │ │ ├── unistd.c │ │ │ ├── user.c │ │ │ ├── ustat.c │ │ │ ├── utsname.c │ │ │ ├── vfs.c │ │ │ ├── vlimit.c │ │ │ ├── vm86.c │ │ │ ├── vt.c │ │ │ ├── vtimes.c │ │ │ ├── wait.c │ │ │ └── xattr.c │ │ ├── syscall.c │ │ ├── sysexits.c │ │ ├── syslog.c │ │ ├── tar.c │ │ ├── termio.c │ │ ├── termios.c │ │ ├── tgmath.c │ │ ├── thread_db.c │ │ ├── time.c │ │ ├── ttyent.c │ │ ├── ucontext.c │ │ ├── ulimit.c │ │ ├── unistd.c │ │ ├── update-elsa-builtins │ │ ├── ustat.c │ │ ├── utime.c │ │ ├── utmp.c │ │ ├── utmpx.c │ │ ├── values.c │ │ ├── wait.c │ │ ├── wchar.c │ │ ├── wctype.c │ │ ├── wordexp.c │ │ └── xlocale.c │ ├── tools │ │ ├── builtin-maker │ │ ├── countstats │ │ └── decomment │ ├── upload │ └── upstream-doc │ │ ├── COPYING │ │ ├── COPYING.LIB │ │ ├── LICENSES │ │ └── README ├── libstdc++_gcc-3.4 │ ├── Makefile │ ├── include │ │ └── bits │ │ │ └── c++locale_internal.h │ ├── src │ │ ├── Makefile │ │ ├── Manifest │ │ ├── allocator-inst.cc │ │ ├── allocator.cc │ │ ├── codecvt.cc │ │ ├── complex_io.cc │ │ ├── concept-inst.cc │ │ ├── config │ │ │ ├── io │ │ │ │ └── basic_file_stdio.cc │ │ │ └── locale │ │ │ │ └── gnu │ │ │ │ ├── c++locale_internal.h │ │ │ │ ├── c_locale.cc │ │ │ │ ├── codecvt_members.cc │ │ │ │ ├── collate_members.cc │ │ │ │ ├── ctype_members.cc │ │ │ │ ├── messages_members.cc │ │ │ │ ├── monetary_members.cc │ │ │ │ ├── numeric_members.cc │ │ │ │ └── time_members.cc │ │ ├── ctype.cc │ │ ├── debug.cc │ │ ├── debug_list.cc │ │ ├── ext-inst.cc │ │ ├── fstream-inst.cc │ │ ├── functexcept.cc │ │ ├── globals_io.cc │ │ ├── globals_locale.cc │ │ ├── io-inst.cc │ │ ├── ios.cc │ │ ├── ios_failure.cc │ │ ├── ios_init.cc │ │ ├── ios_locale.cc │ │ ├── istream-inst.cc │ │ ├── libsupc++ │ │ │ ├── cxxabi.h │ │ │ ├── del_op.cc │ │ │ ├── del_opnt.cc │ │ │ ├── del_opv.cc │ │ │ ├── del_opvnt.cc │ │ │ ├── eh_alloc.cc │ │ │ ├── eh_aux_runtime.cc │ │ │ ├── eh_catch.cc │ │ │ ├── eh_exception.cc │ │ │ ├── eh_globals.cc │ │ │ ├── eh_personality.cc │ │ │ ├── eh_term_handler.cc │ │ │ ├── eh_terminate.cc │ │ │ ├── eh_throw.cc │ │ │ ├── eh_type.cc │ │ │ ├── eh_unex_handler.cc │ │ │ ├── exception │ │ │ ├── exception_defines.h │ │ │ ├── guard.cc │ │ │ ├── new │ │ │ ├── new_handler.cc │ │ │ ├── new_op.cc │ │ │ ├── new_opnt.cc │ │ │ ├── new_opv.cc │ │ │ ├── new_opvnt.cc │ │ │ ├── pure.cc │ │ │ ├── tinfo.cc │ │ │ ├── tinfo.h │ │ │ ├── tinfo2.cc │ │ │ ├── typeinfo │ │ │ ├── unwind-cxx.h │ │ │ ├── vec.cc │ │ │ └── vterminate.cc │ │ ├── limits.cc │ │ ├── list.cc │ │ ├── locale-inst.cc │ │ ├── locale-misc-inst.cc │ │ ├── locale.cc │ │ ├── locale_facets.cc │ │ ├── locale_init.cc │ │ ├── localename.cc │ │ ├── misc-inst.cc │ │ ├── ostream-inst.cc │ │ ├── sstream-inst.cc │ │ ├── stdexcept.cc │ │ ├── streambuf-inst.cc │ │ ├── string-inst.cc │ │ ├── strstream.cc │ │ ├── tree.cc │ │ ├── valarray-inst.cc │ │ ├── wlocale-inst.cc │ │ └── wstring-inst.cc │ └── upstream-doc │ │ ├── COPYING │ │ ├── COPYING.LIB │ │ ├── LAST_UPDATED │ │ └── README ├── make-lib │ ├── abspath │ └── abspath.mk ├── test │ ├── Makefile │ ├── README │ ├── ctype │ │ └── toupper.c │ ├── dlopen │ │ └── dlopen.c │ ├── dummy_main.c │ ├── ioctl │ │ └── ioctl1.c │ ├── main │ │ └── main0.c │ ├── misc │ │ ├── alloca.c │ │ ├── argv.c │ │ ├── clone.c │ │ ├── environ1.c │ │ └── environ2.c │ ├── runtest1 │ ├── runtests │ ├── stdio │ │ ├── file1.c │ │ ├── file1_simpl.c │ │ ├── fread1.c │ │ ├── getc1.c │ │ ├── printf1.c │ │ ├── putc1.c │ │ ├── scanf1.c │ │ ├── sgetn.c │ │ └── sprintf1.c │ ├── stdlib │ │ └── getenv1.c │ ├── string │ │ ├── str1.c │ │ ├── str_poly.c │ │ └── strtok1.c │ ├── struct │ │ ├── fread.c │ │ └── memcpy.c │ └── testsuite.py └── weak.ctl.in ├── smbase ├── .gdbinit ├── .gitignore ├── License.txt ├── Makefile.in ├── SMBASE.IDE ├── array.h ├── arraymap.h ├── arrayqueue.h ├── astlist.h ├── autofile.cc ├── autofile.h ├── bflatten.cc ├── bflatten.h ├── bit2d.cc ├── bit2d.h ├── bitarray.cc ├── bitarray.h ├── bitwise_array.h ├── boxprint.cc ├── boxprint.h ├── breaker.cpp ├── breaker.h ├── check-malloc-trace.pl ├── ckheap.h ├── codepatch.pl ├── configure ├── configure.pl ├── crc.cpp ├── crc.h ├── cycles.c ├── cycles.h ├── d2vector.c ├── d2vector.h ├── datablok.cpp ├── datablok.h ├── depend.pl ├── depend.sh ├── do_strhash_test ├── exc.cpp ├── exc.h ├── flatten.cc ├── flatten.h ├── flatutil.h ├── gprintf.c ├── gprintf.h ├── growbuf.cc ├── growbuf.h ├── hashline.cc ├── hashline.h ├── hashtbl.cc ├── hashtbl.h ├── index.html ├── macros.h ├── make-preproc ├── malloc.c ├── malloc_stub.c ├── missing.cpp ├── missing.h ├── mypopen.c ├── mypopen.h ├── mysig.cc ├── mysig.h ├── nonport.cpp ├── nonport.h ├── objlist.h ├── objmap.h ├── objpool.h ├── objstack.h ├── ofstreamts.cc ├── ofstreamts.h ├── ohashtbl.h ├── okhasharr.h ├── okhashtbl.h ├── oobjmap.h ├── owner.h ├── pair.h ├── point.cc ├── point.h ├── pprint.cc ├── pprint.h ├── ptrintmap.h ├── ptrmap.h ├── run-flex.pl ├── scan-depends.pl ├── sm_config.pm ├── sm_flexlexer.h ├── sm_strstream.h ├── smbase.dsp ├── smbase.gif ├── smregexp.cc ├── smregexp.h ├── sobjlist.h ├── sobjset.h ├── sobjstack.h ├── srcloc.cc ├── srcloc.h ├── srcloc.test.cc ├── srcloc.test2.cc ├── str.cpp ├── str.h ├── strdict.cc ├── strdict.h ├── strhash.cc ├── strhash.h ├── string.txt ├── stringset.cc ├── stringset.h ├── strintdict.h ├── strobjdict.h ├── strsobjdict.h ├── strtable.cc ├── strtable.h ├── strtokp.cpp ├── strtokp.h ├── strtokpc.h ├── strutil.cc ├── strutil.h ├── svdict.cc ├── svdict.h ├── syserr.cpp ├── syserr.h ├── taillist.h ├── taillist_test.cc ├── tarrayqueue.cc ├── test.h ├── test.input ├── testarray.cc ├── testcout.cc ├── testmalloc.cc ├── thashtbl.h ├── tmalloc.c ├── tobjlist.cc ├── tobjpool.cc ├── trace.cc ├── trace.h ├── trace.html ├── trdelete.cc ├── trdelete.h ├── tsobjlist.cc ├── typ.h ├── unixutil.c ├── unixutil.h ├── vdtllist.cc ├── vdtllist.h ├── voidlist.cc ├── voidlist.h ├── vptrmap.cc ├── vptrmap.h ├── warn.cpp ├── warn.h ├── xassert.h ├── xobjlist.h └── xstrobjdict.h └── stack-scripts ├── License.txt ├── Makefile ├── README.txt └── configure /.gitignore: -------------------------------------------------------------------------------- 1 | make_all.out 2 | nohup.out 3 | 4 | local_malloc 5 | llvm 6 | -------------------------------------------------------------------------------- /.stack-dir.oink-stack: -------------------------------------------------------------------------------- 1 | The existence of this file is used by scripts to anchor themselves. 2 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # $Id: Makefile 3461 2006-05-15 09:36:07Z quarl $ 2 | 3 | include stack-scripts/Makefile 4 | 5 | .PHONY: go 6 | go: 7 | ./configure 8 | $(MAKE) clean all check 9 | -------------------------------------------------------------------------------- /ast/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /ast/readme.txt: -------------------------------------------------------------------------------- 1 | readme.txt for astgen 2 | 3 | The contents of this file have been superceded by 4 | manual.html and index.html. 5 | -------------------------------------------------------------------------------- /ast/tiny.ast: -------------------------------------------------------------------------------- 1 | // tiny.ast see license.txt for copyright and terms of use 2 | // minimal ast test file 3 | 4 | class C(int x); 5 | -------------------------------------------------------------------------------- /cgi-bin/Makefile: -------------------------------------------------------------------------------- 1 | 2 | all: 3 | chmod u+s update 4 | -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # dsw: Scott's configure startup script 3 | 4 | # thunk 5 | 6 | exec perl -wS ./configure.pl ${1+"$@"} 7 | -------------------------------------------------------------------------------- /elkhound/asfsdf/EEb.sdf: -------------------------------------------------------------------------------- 1 | module EEb 2 | 3 | exports 4 | sorts E 5 | context-free syntax 6 | "B" -> E 7 | E "P" E -> E 8 | -------------------------------------------------------------------------------- /elkhound/asfsdf/SSSx.sdf: -------------------------------------------------------------------------------- 1 | module SSSx 2 | 3 | exports 4 | sorts S 5 | context-free syntax 6 | "X" -> S 7 | S "X" -> S 8 | S S S "X" -> S 9 | -------------------------------------------------------------------------------- /elkhound/asfsdf/SSx.sdf: -------------------------------------------------------------------------------- 1 | module SSx 2 | 3 | exports 4 | sorts S 5 | context-free syntax 6 | "X" -> S 7 | S S "X" -> S 8 | -------------------------------------------------------------------------------- /elkhound/asfsdf/eeb.perf.txt: -------------------------------------------------------------------------------- 1 | 5: cycles: 5889086 2 | 6: cycles: 9165321 3 | 7: cycles: 18729383 4 | 8: cycles: 48019177 5 | 9: cycles: 105785430 6 | 10: cycles: 292349917 7 | -------------------------------------------------------------------------------- /elkhound/asfsdf/sssx.perf.txt: -------------------------------------------------------------------------------- 1 | 5: cycles: 3 247020 2 | 7: cycles: 6 102313 3 | 10: cycles: 34 942777 4 | 12: cycles: 138 589132 5 | 14: cycles: 571 347922 6 | -------------------------------------------------------------------------------- /elkhound/c.in/c.in0: -------------------------------------------------------------------------------- 1 | // c.in0 2 | // even simpler.. 3 | 4 | int x; 5 | -------------------------------------------------------------------------------- /elkhound/c.in/c.in1: -------------------------------------------------------------------------------- 1 | // c.in1 2 | // a simple test of c.gr 3 | 4 | int foo ( ) 5 | { 6 | return 3 ; 7 | } 8 | 9 | void bar() 10 | {} 11 | 12 | // EOF 13 | 14 | -------------------------------------------------------------------------------- /elkhound/c.in/c.in10: -------------------------------------------------------------------------------- 1 | // possible ambiguity in parameters 2 | 3 | int foo ( int ( x ) ) 4 | { } 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /elkhound/c.in/c.in11: -------------------------------------------------------------------------------- 1 | // c.in11 2 | // playing with initialized globals 3 | 4 | -------------------------------------------------------------------------------- /elkhound/c/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /elkhound/cc2/Makefile: -------------------------------------------------------------------------------- 1 | # dummy redirection Makefile 2 | 3 | all: 4 | cd ..; $(MAKE) 5 | -------------------------------------------------------------------------------- /elkhound/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /elkhound/examples/arith/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /elkhound/examples/gcom/in1: -------------------------------------------------------------------------------- 1 | x := 5; 2 | print x 3 | -------------------------------------------------------------------------------- /elkhound/examples/gcom/in2: -------------------------------------------------------------------------------- 1 | x := 0; 2 | do x < 10 -> 3 | print x; 4 | x := x + 1 5 | od; 6 | print x 7 | -------------------------------------------------------------------------------- /elkhound/grammar.txt: -------------------------------------------------------------------------------- 1 | This file has been superceded by manual.html. 2 | -------------------------------------------------------------------------------- /elkhound/in/asu419.in: -------------------------------------------------------------------------------- 1 | id 2 | id + id 3 | id * id 4 | id + id * id 5 | id * id + id 6 | ( id + id ) * id 7 | id + id + id 8 | id + ( id + id ) 9 | -------------------------------------------------------------------------------- /elkhound/in/castprob.in1: -------------------------------------------------------------------------------- 1 | ( x ) ( x ) 2 | -------------------------------------------------------------------------------- /elkhound/in/castprob.in2: -------------------------------------------------------------------------------- 1 | ( x ) ( x ) ( x ) 2 | -------------------------------------------------------------------------------- /elkhound/in/cc.in3: -------------------------------------------------------------------------------- 1 | // cc.in3 2 | // pathological case testing precedence of "::" 3 | 4 | mytype ::foo () {} 5 | -------------------------------------------------------------------------------- /elkhound/in/cexp.in1: -------------------------------------------------------------------------------- 1 | // cexp.in1 2 | // simple test of cexp2.gr 3 | 4 | x=3; x + x * x + x 5 | 6 | -------------------------------------------------------------------------------- /elkhound/in/cexp3.in1: -------------------------------------------------------------------------------- 1 | // cexp3.in1 2 | 3 | 1+2*3 4 | -------------------------------------------------------------------------------- /elkhound/in/cexp3.in2: -------------------------------------------------------------------------------- 1 | // cexp3.in2 2 | 3 | 1+2*3+4 4 | -------------------------------------------------------------------------------- /elkhound/in/expr.in1: -------------------------------------------------------------------------------- 1 | x + x * x + x $ 2 | 3 | -------------------------------------------------------------------------------- /elkhound/in/ffollow.in1: -------------------------------------------------------------------------------- 1 | id $ 2 | -------------------------------------------------------------------------------- /elkhound/in/gramlex.in3: -------------------------------------------------------------------------------- 1 | 2 | this is gramlex.in3 3 | 4 | -------------------------------------------------------------------------------- /elkhound/in/lexer2.in1: -------------------------------------------------------------------------------- 1 | // some junk 2 | 3 | bar 4 | "a" "b" "c\ 5 | d" 6 | foo 7 | -------------------------------------------------------------------------------- /elkhound/parsetables.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elkhound/parsetables.h -------------------------------------------------------------------------------- /elkhound/perftest/test-all: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # run test-ver on every date on stdin 3 | 4 | while read; do 5 | ./test-ver "$REPLY" | tee -a results 6 | done 7 | -------------------------------------------------------------------------------- /elkhound/readme.txt: -------------------------------------------------------------------------------- 1 | This file has been superceded by index.html. 2 | -------------------------------------------------------------------------------- /elkhound/toplevel/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # configure script for toplevel of Elkhound 3 | 4 | cd parsgen 5 | ./configure 6 | -------------------------------------------------------------------------------- /elkhound/toplevel/readme.txt: -------------------------------------------------------------------------------- 1 | Please see parsgen/readme.txt. 2 | -------------------------------------------------------------------------------- /elkhound/triv/AdB.in1: -------------------------------------------------------------------------------- 1 | D -------------------------------------------------------------------------------- /elkhound/triv/CAdB.in1: -------------------------------------------------------------------------------- 1 | D -------------------------------------------------------------------------------- /elkhound/triv/CNI.in1: -------------------------------------------------------------------------------- 1 | NV -------------------------------------------------------------------------------- /elkhound/triv/DeclExpr.in1: -------------------------------------------------------------------------------- 1 | ALBRSASBS -------------------------------------------------------------------------------- /elkhound/triv/DeclExpr.in10: -------------------------------------------------------------------------------- 1 | ALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBS -------------------------------------------------------------------------------- /elkhound/triv/DeclExpr.in5: -------------------------------------------------------------------------------- 1 | ALBRSASBSALBRSASBSALBRSASBSALBRSASBSALBRSASBS -------------------------------------------------------------------------------- /elkhound/triv/EEb.in1: -------------------------------------------------------------------------------- 1 | BPB -------------------------------------------------------------------------------- /elkhound/triv/EEb.in2: -------------------------------------------------------------------------------- 1 | BPBPB -------------------------------------------------------------------------------- /elkhound/triv/EEb.in3: -------------------------------------------------------------------------------- 1 | BPBPBPB -------------------------------------------------------------------------------- /elkhound/triv/ESb.in1: -------------------------------------------------------------------------------- 1 | ABBB -------------------------------------------------------------------------------- /elkhound/triv/aSEb.in1: -------------------------------------------------------------------------------- 1 | AAB -------------------------------------------------------------------------------- /elkhound/triv/angle.in1: -------------------------------------------------------------------------------- 1 | <1>; -------------------------------------------------------------------------------- /elkhound/triv/angle.in2: -------------------------------------------------------------------------------- 1 | <1+1>; -------------------------------------------------------------------------------- /elkhound/triv/angle.in3: -------------------------------------------------------------------------------- 1 | <1&1>; -------------------------------------------------------------------------------- /elkhound/triv/angle.in4: -------------------------------------------------------------------------------- 1 | =1>1+1+1>1&1<1>1; -------------------------------------------------------------------------------- /elkhound/triv/angle.in5: -------------------------------------------------------------------------------- 1 | <1&1>1>; -------------------------------------------------------------------------------- /elkhound/triv/ite.in1: -------------------------------------------------------------------------------- 1 | IXTCXECX -------------------------------------------------------------------------------- /elkhound/triv/ite.in2: -------------------------------------------------------------------------------- 1 | IXTCXPXPXPXPXEK -------------------------------------------------------------------------------- /elkhound/triv/ite.in3: -------------------------------------------------------------------------------- 1 | IXTIXTKEKEK -------------------------------------------------------------------------------- /elkhound/triv/ite.in4: -------------------------------------------------------------------------------- 1 | IXTIXTCXPXPXPXPXPXPXPXPXECXPXPXPXPXECXPXPXPXPX -------------------------------------------------------------------------------- /elkhound/triv/ite.in5: -------------------------------------------------------------------------------- 1 | IXTIXTIXTKEKEKEK -------------------------------------------------------------------------------- /elkhound/triv/testRR.in1: -------------------------------------------------------------------------------- 1 | ABCD -------------------------------------------------------------------------------- /elkhound/triv/testRR.in2: -------------------------------------------------------------------------------- 1 | ABCE -------------------------------------------------------------------------------- /elsa/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /elsa/crlf.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /elsa/doc/ambiguous_ast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/ambiguous_ast.png -------------------------------------------------------------------------------- /elsa/doc/ast_build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/ast_build.png -------------------------------------------------------------------------------- /elsa/doc/atomic_types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/atomic_types.png -------------------------------------------------------------------------------- /elsa/doc/block_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/block_diagram.png -------------------------------------------------------------------------------- /elsa/doc/class_templates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/class_templates.png -------------------------------------------------------------------------------- /elsa/doc/constructed_types.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/constructed_types.png -------------------------------------------------------------------------------- /elsa/doc/declarator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/declarator.png -------------------------------------------------------------------------------- /elsa/doc/er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/er.png -------------------------------------------------------------------------------- /elsa/doc/function_templates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/function_templates.png -------------------------------------------------------------------------------- /elsa/doc/index.html: -------------------------------------------------------------------------------- 1 | Please see 2 | ../index.html. 3 | -------------------------------------------------------------------------------- /elsa/doc/lexer_build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/lexer_build.png -------------------------------------------------------------------------------- /elsa/doc/parser_build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/parser_build.png -------------------------------------------------------------------------------- /elsa/doc/template_er.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/template_er.png -------------------------------------------------------------------------------- /elsa/doc/valid-html401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/valid-html401.png -------------------------------------------------------------------------------- /elsa/doc/variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/doc/variables.png -------------------------------------------------------------------------------- /elsa/in/big/gz/nonport.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nonport.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsAtomTable.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsAtomTable.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsCLiveconnectFactory.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsCLiveconnectFactory.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsHTMLEditRules.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsHTMLEditRules.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsMsgServiceProvider.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsMsgServiceProvider.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsSOAPPropertyBag.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsSOAPPropertyBag.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/nsUnicodeToTeXCMRt1.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/nsUnicodeToTeXCMRt1.i.gz -------------------------------------------------------------------------------- /elsa/in/big/gz/ostream.i.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/big/gz/ostream.i.gz -------------------------------------------------------------------------------- /elsa/in/c/d0124b.c: -------------------------------------------------------------------------------- 1 | // see elsa/in/d0124.cc for contrast; this passes because string 2 | // literals are 'char (nonconst) []' in C 3 | char *a = "hello"; 4 | char const *b = "hello"; 5 | -------------------------------------------------------------------------------- /elsa/in/c/dC0010.c: -------------------------------------------------------------------------------- 1 | // from the kernel 2 | typedef unsigned char u8; 3 | static int adm1025_read_value(u8 register); 4 | -------------------------------------------------------------------------------- /elsa/in/c/dC0017.c: -------------------------------------------------------------------------------- 1 | // gcc accepts this in C mode, not in C++ mode (per the C++ spec) 2 | 3 | typedef struct zone_struct { 4 | int x; 5 | } zone_t; 6 | struct zone_t; 7 | -------------------------------------------------------------------------------- /elsa/in/c/dC0019.c: -------------------------------------------------------------------------------- 1 | void CreateArray() { 2 | int x = sizeof (struct {}); 3 | 4 | // this is from k0035.cc 5 | x = (x) + (sizeof(struct {})); 6 | } 7 | -------------------------------------------------------------------------------- /elsa/in/c/dC0022.c: -------------------------------------------------------------------------------- 1 | void encode_rgb_frame (int w) { 2 | int sample_buffer[3][w + 6]; 3 | sizeof sample_buffer; 4 | } 5 | -------------------------------------------------------------------------------- /elsa/in/c/dC0025.c: -------------------------------------------------------------------------------- 1 | struct info_t {}; 2 | int main (); 3 | int main (ac, av) 4 | int ac; 5 | {} 6 | -------------------------------------------------------------------------------- /elsa/in/c/dC0026.c: -------------------------------------------------------------------------------- 1 | // dC0026.c 2 | // implicit int in K&R decl 3 | 4 | void pack12 (p, n, last) 5 | register char *p; 6 | register /*implicit-int*/ n; 7 | int last; 8 | {} 9 | -------------------------------------------------------------------------------- /elsa/in/c/dC0027.c: -------------------------------------------------------------------------------- 1 | void mbcheck () { 2 | register int i, j, restrict; 3 | for (i = 1; i < 9; i++) {} 4 | } 5 | -------------------------------------------------------------------------------- /elsa/in/c/dC0029.c: -------------------------------------------------------------------------------- 1 | int restrict (d, ts) 2 | int d; 3 | {} 4 | -------------------------------------------------------------------------------- /elsa/in/c/dC0030.c: -------------------------------------------------------------------------------- 1 | void f() { 2 | int a; 3 | a < 0 || 1 > 2 || 4 | a < 3 || 4 > (5) || 5 | 6 < 7 || 8 > 9 || 6 | 10 < 11 || 12 > 13; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/c/dC0031.c: -------------------------------------------------------------------------------- 1 | void f() { 2 | int icnt; 3 | sizeof (int[icnt]); 4 | __alignof__ (int[icnt]); 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/c/t0001.c: -------------------------------------------------------------------------------- 1 | // t0001.c 2 | // use some C++ keywords but expect them to be parsed as identifiers 3 | 4 | int template = 1; 5 | -------------------------------------------------------------------------------- /elsa/in/c/t0002.c: -------------------------------------------------------------------------------- 1 | // t0002.c 2 | // problem with enums? 3 | 4 | typedef int wchar_t; 5 | 6 | int mbtowc (int y, wchar_t * __pwc); 7 | 8 | enum { A, B = A, }; 9 | -------------------------------------------------------------------------------- /elsa/in/c/t0003.c: -------------------------------------------------------------------------------- 1 | // t0003.c 2 | // __func___ 3 | 4 | char const *foo() 5 | { 6 | return __func__; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /elsa/in/c/t0013.c: -------------------------------------------------------------------------------- 1 | // t0013.c 2 | // multiply-defined function 3 | 4 | int f(int) { return 1; } 5 | 6 | //ERROR(1): int f(int) { return 2; } 7 | -------------------------------------------------------------------------------- /elsa/in/c/t0015.c: -------------------------------------------------------------------------------- 1 | // t0015.c 2 | // ambiguous FunctionDefinition? 3 | 4 | ttputc(c) 5 | { 6 | return 3; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/c/t0019.c: -------------------------------------------------------------------------------- 1 | // t0019.c 2 | // like in/t0414.cc but for C 3 | 4 | struct S { int x; }; 5 | typedef struct S S; 6 | 7 | void foo() 8 | { 9 | struct S s; 10 | } 11 | -------------------------------------------------------------------------------- /elsa/in/c/t0021.c: -------------------------------------------------------------------------------- 1 | // t0021.c 2 | // c89 coverage 3 | 4 | int foo() 5 | { 6 | // implicit decl 7 | return not_declared(); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/c/t0024.c: -------------------------------------------------------------------------------- 1 | // t0024.c 2 | // use of 'std' as an identifier 3 | 4 | enum { std }; 5 | 6 | int foo() 7 | { 8 | return std; 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/c99/n0001.c: -------------------------------------------------------------------------------- 1 | /* n0001.c */ 2 | /* _Bool */ 3 | 4 | _Bool b; 5 | -------------------------------------------------------------------------------- /elsa/in/d0002.cc: -------------------------------------------------------------------------------- 1 | struct _IO_FILE { 2 | int unbuffered () {} 3 | void unbuffered (int) { 4 | unbuffered (); 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/d0005.cc: -------------------------------------------------------------------------------- 1 | void g (); 2 | void g (int *); 3 | 4 | template T m () {} 5 | 6 | void r() { 7 | g(m()); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/d0007.cc: -------------------------------------------------------------------------------- 1 | struct A {}; 2 | struct C : A {}; 3 | C g(); 4 | void f (const A & x); 5 | void f (); 6 | int main () { 7 | f (g ()); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/d0012.cc: -------------------------------------------------------------------------------- 1 | struct C { 2 | operator int(); 3 | }; 4 | void g(int, int); 5 | void g(int, double); 6 | int main() { 7 | C c; 8 | g(c, 1); 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/d0014.cc: -------------------------------------------------------------------------------- 1 | /***/ 2 | -------------------------------------------------------------------------------- /elsa/in/d0015.cc: -------------------------------------------------------------------------------- 1 | //ERROR(1): /* 2 | -------------------------------------------------------------------------------- /elsa/in/d0017.cc: -------------------------------------------------------------------------------- 1 | int main() { 2 | static const char sName[] = "SOAPPropertyBag" ; 3 | sizeof(sName); 4 | } 5 | -------------------------------------------------------------------------------- /elsa/in/d0018.cc: -------------------------------------------------------------------------------- 1 | // From in/big/nsAtomTable.i 2 | template struct f {}; 3 | template class R { 4 | f m; 5 | }; 6 | int d(R&); 7 | -------------------------------------------------------------------------------- /elsa/in/d0020.cc: -------------------------------------------------------------------------------- 1 | // test that a no-arg new works 2 | struct A { 3 | }; 4 | 5 | int main() { 6 | A *a = new A; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/d0021.cc: -------------------------------------------------------------------------------- 1 | class S {}; 2 | template class C {}; 3 | template <> struct C {}; 4 | struct G { 5 | C m; 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/d0022.cc: -------------------------------------------------------------------------------- 1 | struct B { 2 | B(int); 3 | }; 4 | int main() { 5 | //ERROR(1): B b; // no default ctor 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/d0023.cc: -------------------------------------------------------------------------------- 1 | struct stat {}; 2 | extern void stat (); 3 | void f() { 4 | struct stat st; 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/d0024.cc: -------------------------------------------------------------------------------- 1 | extern void stat (); 2 | struct stat {}; 3 | void f() { 4 | struct stat st; 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/d0025.cc: -------------------------------------------------------------------------------- 1 | template struct Foo {}; 2 | int main() { 3 | Foo h; 4 | } 5 | -------------------------------------------------------------------------------- /elsa/in/d0027.cc: -------------------------------------------------------------------------------- 1 | struct B {}; 2 | struct C { 3 | C (B *a); 4 | }; 5 | C f = new B; 6 | C f2(new B); 7 | -------------------------------------------------------------------------------- /elsa/in/d0028.cc: -------------------------------------------------------------------------------- 1 | struct S {}; 2 | struct N { 3 | void a() { 4 | new S[2]; 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/d0029.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | S (int); 3 | }; 4 | struct T{ 5 | T(S const &); 6 | }; 7 | void f() { 8 | T x(S(1)); 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/d0030.cc: -------------------------------------------------------------------------------- 1 | // how come no FullExpression ? 2 | struct A{}; 3 | void f() { 4 | A const &a = A(); 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/d0031.cc: -------------------------------------------------------------------------------- 1 | // how come no FullExpression ? 2 | struct A{ 3 | operator int(); 4 | }; 5 | void f() { 6 | int x; 7 | x = A(); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/d0032.cc: -------------------------------------------------------------------------------- 1 | // test function local statics 2 | struct A{}; 3 | void f() { 4 | static A a; 5 | A a2; 6 | } 7 | -------------------------------------------------------------------------------- /elsa/in/d0034.cc: -------------------------------------------------------------------------------- 1 | struct A { 2 | struct B {}; 3 | // member function declaration parameters should NOT get cdtors 4 | void f(B a); 5 | }; 6 | -------------------------------------------------------------------------------- /elsa/in/d0035.cc: -------------------------------------------------------------------------------- 1 | struct A { 2 | struct B {}; 3 | // member function definitions parameters SHOULD get cdtors 4 | void f2(B a){} 5 | }; 6 | -------------------------------------------------------------------------------- /elsa/in/d0036.cc: -------------------------------------------------------------------------------- 1 | struct A{}; 2 | // top level function definitions parameters should NOT get cdtors 3 | void f(A a); 4 | -------------------------------------------------------------------------------- /elsa/in/d0037.cc: -------------------------------------------------------------------------------- 1 | struct A{}; 2 | // top level function definitions parameters SHOULD get cdtors 3 | void f(A a) {} 4 | -------------------------------------------------------------------------------- /elsa/in/d0038.cc: -------------------------------------------------------------------------------- 1 | // test pass by value 2 | class A{}; 3 | void g(A a) { 4 | } 5 | void f() { 6 | A a2; 7 | g(a2); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/d0039.cc: -------------------------------------------------------------------------------- 1 | // test throw by value 2 | struct A{}; 3 | void f() { 4 | A a; 5 | throw a; 6 | } 7 | 8 | struct B{}; 9 | void g() { 10 | throw B(); 11 | } 12 | -------------------------------------------------------------------------------- /elsa/in/d0040.cc: -------------------------------------------------------------------------------- 1 | // isolated from nsCLiveconnectFactory.i:5637 2 | // NOTE: this is not legal C++ 3 | struct ip_opts { 4 | char ip_opts[40]; 5 | }; 6 | -------------------------------------------------------------------------------- /elsa/in/d0049.cc: -------------------------------------------------------------------------------- 1 | // from nonport.i 2 | // error: there is no variable called `temp-name-1' 3 | struct A {}; 4 | A f (A); 5 | A g() { 6 | A o; 7 | return f(o); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/d0067.cc: -------------------------------------------------------------------------------- 1 | // testing two instantiations of class template with same integer 2 | // arguments 3 | template struct A { 4 | }; 5 | A<2> a2; 6 | A<2> a2a; 7 | A<3> a3; 8 | -------------------------------------------------------------------------------- /elsa/in/d0071.cc: -------------------------------------------------------------------------------- 1 | template 2 | void m(const T & a, const T & b) {}; 3 | void g() { 4 | const int x = 3; 5 | m(x, 4); 6 | } 7 | -------------------------------------------------------------------------------- /elsa/in/d0103.cc: -------------------------------------------------------------------------------- 1 | // Parse error (state 631) at < 2 | 3 | template struct A { 4 | friend bool operator == <>(const A &, const A &); 5 | }; 6 | -------------------------------------------------------------------------------- /elsa/in/d0116.cc: -------------------------------------------------------------------------------- 1 | // Assertion failed: should not be reachable, file cc_elaborate.cc line 539 2 | 3 | struct B {}; 4 | extern B b; 5 | B b; 6 | -------------------------------------------------------------------------------- /elsa/in/d0119.cc: -------------------------------------------------------------------------------- 1 | // you can get a const onto an array this way 2 | typedef char category_t[16]; 3 | const category_t &f(); 4 | -------------------------------------------------------------------------------- /elsa/in/gnu/bugs/gb0001.c: -------------------------------------------------------------------------------- 1 | // gb0001.c 2 | // applying cv-flags to a function type via typedef 3 | 4 | typedef void voidfn (); 5 | extern volatile voidfn fatal; 6 | -------------------------------------------------------------------------------- /elsa/in/gnu/bugs/gb0007.cc: -------------------------------------------------------------------------------- 1 | // gb0007.cc 2 | // strange friend + qualified ctor name bug 3 | 4 | // rejected by ICC 5 | 6 | struct A { 7 | friend A::A(int); 8 | }; 9 | -------------------------------------------------------------------------------- /elsa/in/gnu/bugs/gb0008.cc: -------------------------------------------------------------------------------- 1 | // gb0008.cc 2 | // refer to std::type_info without declaring 3 | 4 | // rejected by ICC 5 | 6 | std::type_info *p; 7 | 8 | -------------------------------------------------------------------------------- /elsa/in/gnu/c0002.c: -------------------------------------------------------------------------------- 1 | // c0002.c 2 | // enum coverage 3 | 4 | enum Blah; 5 | enum Blah; 6 | enum Blah {x}; 7 | //ERROR(1): enum Blah {y}; 8 | enum Blah; 9 | -------------------------------------------------------------------------------- /elsa/in/gnu/d0081.cc: -------------------------------------------------------------------------------- 1 | // dsw: g++ seems to define a variable __null that my guess is a void* 2 | // to 0; test that we can typecheck it. 3 | void *x = __null; 4 | -------------------------------------------------------------------------------- /elsa/in/gnu/d0093.cc: -------------------------------------------------------------------------------- 1 | typedef int x[]; 2 | -------------------------------------------------------------------------------- /elsa/in/gnu/dC0001.c: -------------------------------------------------------------------------------- 1 | // hex float literal 2 | float y = (__extension__ 0x1.0p2047); 3 | -------------------------------------------------------------------------------- /elsa/in/gnu/dC0003.c: -------------------------------------------------------------------------------- 1 | struct A *x; 2 | struct B { 3 | struct A {}; 4 | }; 5 | 6 | struct A2 *x2; 7 | struct B2 { 8 | struct A2 {} A2; 9 | }; 10 | -------------------------------------------------------------------------------- /elsa/in/gnu/dC0006.c: -------------------------------------------------------------------------------- 1 | // from the kernel 2 | struct board_info static_boards[0]={ 3 | }; 4 | -------------------------------------------------------------------------------- /elsa/in/gnu/dC0015.c: -------------------------------------------------------------------------------- 1 | void i2o_lan_handle_event() 2 | { 3 | int max_evt_data_size = 3; 4 | struct i2o_reply { 5 | int data[max_evt_data_size]; 6 | } *evt; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0001.cc: -------------------------------------------------------------------------------- 1 | // g0001.cc 2 | // "__restrict__" keyword 3 | // I think this is a gnu thing 4 | 5 | int * __restrict__ x; 6 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0003.cc: -------------------------------------------------------------------------------- 1 | // g0003.cc 2 | // __builtin_va_list 3 | 4 | typedef __builtin_va_list __gnuc_va_list; 5 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0010.cc: -------------------------------------------------------------------------------- 1 | // g0003.cc 2 | // from jrvb 3 | 4 | int uselocale; 5 | namespace __gnu_cxx 6 | { 7 | extern "C" __typeof(uselocale) __uselocale; 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0011.cc: -------------------------------------------------------------------------------- 1 | // g0011.cc 2 | // __attribute__ in a parameter list 3 | // from Kevin Millikin 4 | 5 | void foo(const int __attribute__ ((__unused__)) x) { return; } 6 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0012.cc: -------------------------------------------------------------------------------- 1 | // g0012.cc 2 | // __attribute__ on a return value 3 | // from Kevin Millikin 4 | 5 | int __attribute__((__cdecl__)) isalnum (int __c); 6 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0014.cc: -------------------------------------------------------------------------------- 1 | // g0014.cc 2 | // compound lit with unsized array 3 | 4 | int f() 5 | { 6 | return ( 7 | (int[]) {1, 2} 8 | )[0]; 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/gnu/g0018.cc: -------------------------------------------------------------------------------- 1 | // g0018.cc 2 | // gcc allows 'main' to be declared w/o a type! 3 | 4 | main(int argc, char** argv) 5 | { 6 | // whatever 7 | return argc - 1; 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/gnu/k0008.c: -------------------------------------------------------------------------------- 1 | // gcc accepts this in C, but not C++ 2 | 3 | extern int foo(); 4 | 5 | extern inline int foo() 6 | { 7 | } 8 | 9 | int foo() 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /elsa/in/gnu/offsetof.cc: -------------------------------------------------------------------------------- 1 | 2 | struct astruct { 3 | int myarray[20]; 4 | }; 5 | int i = __builtin_offsetof (astruct, myarray[0]); 6 | -------------------------------------------------------------------------------- /elsa/in/gnu/t0124.cc: -------------------------------------------------------------------------------- 1 | // t0124.cc 2 | // statement expressions 3 | 4 | int main() { 5 | int x; 6 | x = ({int y=1; int z=2; y+z;}); 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/gnu/t0132.cc: -------------------------------------------------------------------------------- 1 | // check __alignof__ 2 | int main() { 3 | struct foo {int x; int y;}; 4 | int x = __alignof__(struct foo); 5 | }; 6 | -------------------------------------------------------------------------------- /elsa/in/k0007.cc: -------------------------------------------------------------------------------- 1 | // error: E_floatLit is not constEval'able 2 | 3 | // originally found in package coreutils 4 | 5 | enum E { 6 | a = (0.5 == 0) 7 | }; 8 | -------------------------------------------------------------------------------- /elsa/in/k0094.cc: -------------------------------------------------------------------------------- 1 | 2 | //ERROR(1): int foo(); //declared non-static, cannot re-declare as static 3 | 4 | static int foo() { 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/k0104.cc: -------------------------------------------------------------------------------- 1 | // restrict reference 2 | 3 | // ERR-MATCH: Parse error .state 399. at restrict 4 | 5 | // first seen in package 'cppunit' 6 | 7 | void foo(int & __restrict x) {} 8 | -------------------------------------------------------------------------------- /elsa/in/kandr/t0001.c: -------------------------------------------------------------------------------- 1 | // t0001.c 2 | // K&R function definition 3 | 4 | int foo(a,b,c) 5 | int a; 6 | float b; 7 | int *c; 8 | { 9 | return a + (int)b + *c; 10 | } 11 | -------------------------------------------------------------------------------- /elsa/in/kandr/t0002.c: -------------------------------------------------------------------------------- 1 | // t0002.c 2 | // implicit int 3 | 4 | a; 5 | 6 | int foo(register a) 7 | { 8 | return a; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /elsa/in/kandr/t0003.c: -------------------------------------------------------------------------------- 1 | // t0003.c 2 | // static and implicit int 3 | 4 | static /*implicit-int*/ tinfoclose() 5 | { 6 | return(0); 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/moz0002.cc: -------------------------------------------------------------------------------- 1 | // moz0002.cc 2 | // bitlength-reducing cast in integral constant expression 3 | 4 | // ERROR(2): int a[(signed char) 254]; 5 | -------------------------------------------------------------------------------- /elsa/in/moz0008.cc: -------------------------------------------------------------------------------- 1 | // moz0008.cc 2 | // gcc attributes applied to namespaces 3 | 4 | namespace ns __attribute((visibility("default"))) { 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/sg0001.cc: -------------------------------------------------------------------------------- 1 | class A {}; 2 | int main() { 3 | const A *val = 0; 4 | val->~A (); 5 | } 6 | -------------------------------------------------------------------------------- /elsa/in/std/13.1c.cc: -------------------------------------------------------------------------------- 1 | // 13.1c.cc 2 | 3 | enum E { a }; 4 | 5 | void f(int i) { /* ... */ } 6 | void f(E i) { /* ... */ } 7 | -------------------------------------------------------------------------------- /elsa/in/std/8.2.7b.cc: -------------------------------------------------------------------------------- 1 | // 8.2.7b.cc 2 | 3 | class C {}; 4 | void h(int *(C[10])); 5 | -------------------------------------------------------------------------------- /elsa/in/t0001.cc: -------------------------------------------------------------------------------- 1 | // very simple 2 | 3 | int x; 4 | -------------------------------------------------------------------------------- /elsa/in/t0002.cc: -------------------------------------------------------------------------------- 1 | 2 | typedef int x; 3 | 4 | x y; 5 | 6 | -------------------------------------------------------------------------------- /elsa/in/t0003.cc: -------------------------------------------------------------------------------- 1 | 2 | typedef int x; 3 | 4 | int main() 5 | { 6 | x (y); // this is a declaration according to cppstd sec. 6.8 7 | 8 | return y; 9 | } 10 | 11 | 12 | -------------------------------------------------------------------------------- /elsa/in/t0008.cc: -------------------------------------------------------------------------------- 1 | // cc.in8 2 | // really simple disambiguation example 3 | 4 | int main() 5 | { 6 | int a; 7 | int b; 8 | 9 | (a) & (b); 10 | } 11 | -------------------------------------------------------------------------------- /elsa/in/t0009.cc: -------------------------------------------------------------------------------- 1 | // cc.in9 2 | // stuff with structs, etc. 3 | 4 | struct Foo { 5 | int x; 6 | int y; 7 | }; 8 | 9 | int main() 10 | { 11 | Foo f; 12 | return f.x; 13 | } 14 | -------------------------------------------------------------------------------- /elsa/in/t0014a.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | int x, *p; 4 | x = int(6); 5 | p = new int[x]; 6 | } 7 | -------------------------------------------------------------------------------- /elsa/in/t0024.cc: -------------------------------------------------------------------------------- 1 | // cc.in24 2 | // typedef'd class members 3 | 4 | class Foo { 5 | public: 6 | typedef int Int; 7 | 8 | void f() 9 | { 10 | Int x; 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /elsa/in/t0029.cc: -------------------------------------------------------------------------------- 1 | // cc.in29 2 | // linkage specifications 3 | 4 | extern "C" int exit(int code); 5 | 6 | extern "C" { 7 | int printf(char const *fmt, ...); 8 | int rand(); 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/t0030a.cc: -------------------------------------------------------------------------------- 1 | // cc.in30; cut down to show only anonymous stuff. 2 | class { 3 | int x; 4 | } xx; 5 | // anonymous enum 6 | enum { whazza, whozza, howza } futza; 7 | -------------------------------------------------------------------------------- /elsa/in/t0030b.cc: -------------------------------------------------------------------------------- 1 | enum GRNK0 { whazza0, whozza0, howza0 } waga0; 2 | enum GRNK2 { whazza2, whozza2, howza2 }; 3 | enum GRNK2 waga2; 4 | enum { whazza, whozza, howza } futza; 5 | -------------------------------------------------------------------------------- /elsa/in/t0039.cc: -------------------------------------------------------------------------------- 1 | // cc.in39 2 | // problem with fwd decls inside classes 3 | 4 | class Foo { 5 | class Bar; 6 | }; 7 | 8 | class Bar { 9 | int x; 10 | }; 11 | -------------------------------------------------------------------------------- /elsa/in/t0042.cc: -------------------------------------------------------------------------------- 1 | // cc.in42 2 | // need to merge ForInitStatement 3 | 4 | typedef int Node; 5 | 6 | int main() 7 | { 8 | int *top; 9 | for (Node *n = top; 3; 4) ; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /elsa/in/t0044.cc: -------------------------------------------------------------------------------- 1 | // cc.in44 2 | // problem with inline definition of virtual destructor 3 | 4 | class Foo 5 | { 6 | virtual ~Foo() {} 7 | }; 8 | -------------------------------------------------------------------------------- /elsa/in/t0070.cc: -------------------------------------------------------------------------------- 1 | // cc.in70 2 | // inherit from a typedef'd name! 3 | 4 | class Foo {}; 5 | 6 | typedef Foo Bar; 7 | 8 | class Baz : public Bar { 9 | //... 10 | }; 11 | 12 | -------------------------------------------------------------------------------- /elsa/in/t0076.cc: -------------------------------------------------------------------------------- 1 | // cc.in76 2 | // use 'extern "C"' as synonym for 'extern' 3 | 4 | extern "C" int x; 5 | 6 | int x; 7 | -------------------------------------------------------------------------------- /elsa/in/t0081.cc: -------------------------------------------------------------------------------- 1 | // cc.in81 2 | // 'register' in a parameter list 3 | 4 | int f(register int a) 5 | { 6 | return a; 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/t0084.cc: -------------------------------------------------------------------------------- 1 | template class C {}; 2 | typedef int x; 3 | 4 | int f(C *y); 5 | -------------------------------------------------------------------------------- /elsa/in/t0086.cc: -------------------------------------------------------------------------------- 1 | // t0086.cc 2 | // test #line directive processing 3 | 4 | #line 1 "foo.cc" 5 | int x; 6 | int y; 7 | 8 | #line 6 "bar.cc" 9 | int z; 10 | -------------------------------------------------------------------------------- /elsa/in/t0089.cc: -------------------------------------------------------------------------------- 1 | // t0089.cc 2 | // replicate problem with reported decl/defn mismatch with static funcs 3 | 4 | class A { 5 | static int foo(); 6 | }; 7 | 8 | int A::foo() 9 | {} 10 | -------------------------------------------------------------------------------- /elsa/in/t0092.cc: -------------------------------------------------------------------------------- 1 | // t0092.cc 2 | // adjacent string literals 3 | 4 | // apparently this is legal; cppstd is unclear IMO 5 | char *s = "foo""bar"; 6 | -------------------------------------------------------------------------------- /elsa/in/t0093.cc: -------------------------------------------------------------------------------- 1 | // t0093.cc 2 | // asm 3 | 4 | asm("whassup"); 5 | 6 | int foo() 7 | { 8 | asm("oof"); 9 | } 10 | -------------------------------------------------------------------------------- /elsa/in/t0095.cc: -------------------------------------------------------------------------------- 1 | // t0095.cc 2 | // unions with member functions 3 | 4 | union F { 5 | F(){} 6 | int foo(); 7 | }; 8 | -------------------------------------------------------------------------------- /elsa/in/t0100.cc: -------------------------------------------------------------------------------- 1 | class X { 2 | int y; 3 | void foo() { 4 | X::y++; 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/t0101.cc: -------------------------------------------------------------------------------- 1 | struct Anon_struct_10 { 2 | long int __pos; 3 | }; 4 | extern int fsetpos(struct Anon_struct_10 const * __pos); 5 | -------------------------------------------------------------------------------- /elsa/in/t0173.cc: -------------------------------------------------------------------------------- 1 | // t0173.cc 2 | // another from jrvb 3 | 4 | template 5 | class bar; 6 | -------------------------------------------------------------------------------- /elsa/in/t0174.cc: -------------------------------------------------------------------------------- 1 | // t0174.cc 2 | // from jrvb 3 | 4 | int uselocale; 5 | namespace __gnu_cxx 6 | { 7 | extern "C" int __uselocale; 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/t0176.cc: -------------------------------------------------------------------------------- 1 | // t0176.cc 2 | // templatized class member 3 | 4 | struct A { 5 | template 6 | void foo(T t); 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /elsa/in/t0177.cc: -------------------------------------------------------------------------------- 1 | // t0177.cc 2 | // a weird "typename" thing 3 | 4 | class A { 5 | typedef int foo; 6 | }; 7 | 8 | void bar() 9 | { 10 | typename A::foo(); 11 | } 12 | -------------------------------------------------------------------------------- /elsa/in/t0181.cc: -------------------------------------------------------------------------------- 1 | // t0181.cc 2 | // templatized constructor! 3 | 4 | struct C { 5 | template 6 | C(T t); 7 | }; 8 | 9 | -------------------------------------------------------------------------------- /elsa/in/t0199.cc: -------------------------------------------------------------------------------- 1 | // t0199.cc 2 | // alpha conversion + default arguments 3 | 4 | template 5 | class B; 6 | 7 | template 8 | class B {}; 9 | -------------------------------------------------------------------------------- /elsa/in/t0200.cc: -------------------------------------------------------------------------------- 1 | // t0200.cc 2 | // template type params with defaults 3 | 4 | template 5 | class C {}; 6 | 7 | // should use the default argument 8 | C<> x; 9 | -------------------------------------------------------------------------------- /elsa/in/t0207.cc: -------------------------------------------------------------------------------- 1 | // t0207.cc 2 | // default template type arguments 3 | 4 | template 5 | class C {}; 6 | 7 | C c; 8 | -------------------------------------------------------------------------------- /elsa/in/t0243.cc: -------------------------------------------------------------------------------- 1 | // t0243.cc 2 | // throw(bad_alloc) 3 | // from my own new.h! 4 | 5 | class bad_alloc {}; 6 | 7 | void* operator new(int size) throw(bad_alloc); 8 | -------------------------------------------------------------------------------- /elsa/in/t0262.cc: -------------------------------------------------------------------------------- 1 | // t0262.cc 2 | // template class with a friend 3 | 4 | template 5 | class A { 6 | friend class B; 7 | }; 8 | 9 | A x; 10 | 11 | 12 | // EOF 13 | -------------------------------------------------------------------------------- /elsa/in/t0289.cc: -------------------------------------------------------------------------------- 1 | // t0289.cc 2 | // repeated 'using' declarations 3 | 4 | typedef int Int; 5 | 6 | namespace N 7 | { 8 | using ::Int; 9 | using ::Int; 10 | } 11 | -------------------------------------------------------------------------------- /elsa/in/t0292.cc: -------------------------------------------------------------------------------- 1 | // t0292.cc 2 | // conversion operator accepting "(void)" 3 | 4 | class A { 5 | operator int (void); 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/t0302.cc: -------------------------------------------------------------------------------- 1 | // t0302.cc 2 | // convert parenthesized 0 to pointer (doh) 3 | 4 | struct A {}; 5 | 6 | void (*f)(int, A *); 7 | 8 | void foo() 9 | { 10 | (*f)(0, (0) ); 11 | } 12 | -------------------------------------------------------------------------------- /elsa/in/t0306.cc: -------------------------------------------------------------------------------- 1 | // t0306.cc 2 | // ?: with NULL 2nd arg 3 | 4 | struct A {}; 5 | 6 | void f(A *); 7 | 8 | void foo(bool b) 9 | { 10 | A *a; 11 | 12 | f(b? 0 : a); 13 | } 14 | -------------------------------------------------------------------------------- /elsa/in/t0318.cc: -------------------------------------------------------------------------------- 1 | // t0318.cc 2 | // static class-valued member 3 | 4 | struct S {}; 5 | 6 | struct A { 7 | static S x; 8 | }; 9 | 10 | S A::x; 11 | 12 | // EOF 13 | -------------------------------------------------------------------------------- /elsa/in/t0322.cc: -------------------------------------------------------------------------------- 1 | // t0322.cc 2 | // ok to have a static member that is of incomplete type 3 | 4 | struct A; 5 | 6 | struct B { 7 | static A a; 8 | }; 9 | 10 | // EOF 11 | -------------------------------------------------------------------------------- /elsa/in/t0388.cc: -------------------------------------------------------------------------------- 1 | // t0388.cc 2 | // template friend class 3 | 4 | struct A { 5 | template friend class B; 6 | }; 7 | -------------------------------------------------------------------------------- /elsa/in/t0390.cc: -------------------------------------------------------------------------------- 1 | // t0390.cc 2 | // ctor member init via a typedef 3 | 4 | struct B {}; 5 | 6 | struct A : public B { 7 | typedef B S; 8 | A() : S() {} 9 | }; 10 | -------------------------------------------------------------------------------- /elsa/in/t0420.cc: -------------------------------------------------------------------------------- 1 | // t0420.cc 2 | // another from A.E. 3 | 4 | template 5 | struct C { 6 | struct B { 7 | B(); 8 | }; 9 | void f() { 10 | B b; 11 | } 12 | }; 13 | -------------------------------------------------------------------------------- /elsa/in/t0446.cc: -------------------------------------------------------------------------------- 1 | // t0446.cc 2 | // template parameter and ?: 3 | 4 | template 5 | int foo(T t) 6 | { 7 | return t? t->something() : 0; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /elsa/in/t0458.cc: -------------------------------------------------------------------------------- 1 | // t0458.cc 2 | // from Karl; template without params 3 | 4 | template < 5 | class T //ERRORIFMISSING(1): required 6 | > 7 | class C {}; 8 | -------------------------------------------------------------------------------- /elsa/in/t0466.cc: -------------------------------------------------------------------------------- 1 | // t0466.cc 2 | // ambiguous declaration 3 | 4 | 5 | // (some stuff would need to come first to make this valid) 6 | 7 | int n = A < 3 , C < 4 > :: B ; 8 | -------------------------------------------------------------------------------- /elsa/in/t0469.cc: -------------------------------------------------------------------------------- 1 | // t0469.cc 2 | // another use of a dependent qualified name 3 | 4 | struct C {}; 5 | 6 | template 7 | void f(T t) { 8 | C& c; 9 | c.T::g(); 10 | } 11 | -------------------------------------------------------------------------------- /elsa/in/t0489.cc: -------------------------------------------------------------------------------- 1 | // t0489.cc 2 | // const-eval static_cast 3 | 4 | char _M_widen[1 + static_cast(-1)]; 5 | -------------------------------------------------------------------------------- /elsa/in/t0493.cc: -------------------------------------------------------------------------------- 1 | // t0493.cc 2 | // anonymous bool-valued template parameter 3 | 4 | template 5 | struct __enable_if 6 | { 7 | }; 8 | -------------------------------------------------------------------------------- /elsa/in/t0499.cc: -------------------------------------------------------------------------------- 1 | // t0499.cc 2 | // ?: on enums const variable 3 | 4 | enum E {a,b}; 5 | const E aa = a; 6 | 7 | void f(E); 8 | 9 | void foo() 10 | { 11 | f(true? aa : a); 12 | } 13 | -------------------------------------------------------------------------------- /elsa/in/t0501.cc: -------------------------------------------------------------------------------- 1 | // t0501.cc 2 | // nested class befriends containing template 3 | 4 | template 5 | struct A { 6 | struct B { 7 | friend class A; 8 | }; 9 | }; 10 | -------------------------------------------------------------------------------- /elsa/in/t0512.cc: -------------------------------------------------------------------------------- 1 | // t0512.cc 2 | // const primitive-type variable initialized by IN_ctor 3 | // reported by Jeremy Smithers 4 | 5 | const int ConstVar(1234); 6 | int ArrayVar[ConstVar]; 7 | -------------------------------------------------------------------------------- /elsa/in/t0518.cc: -------------------------------------------------------------------------------- 1 | // t0518.cc 2 | // raise xfailure and there are no preceding errors 3 | 4 | void foo() 5 | { 6 | __cause_xfailure(); 7 | } 8 | -------------------------------------------------------------------------------- /elsa/in/t0519.cc: -------------------------------------------------------------------------------- 1 | // t0519.cc 2 | // raise xfailure, but a preceding error reduces severity 3 | 4 | void foo() 5 | { 6 | x; // preceding error 7 | __cause_xfailure(); 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/t0535.cc: -------------------------------------------------------------------------------- 1 | // t0535.cc 2 | // function return type need not be complete at decl of operator() 3 | 4 | struct A; 5 | 6 | struct B { 7 | operator A (); 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /elsa/in/t0547.cc: -------------------------------------------------------------------------------- 1 | // t0547.cc 2 | // multiple using-directives naively conflict 3 | 4 | typedef int ptrdiff_t; 5 | namespace std { 6 | using ::ptrdiff_t; 7 | using std::ptrdiff_t; 8 | } 9 | -------------------------------------------------------------------------------- /elsa/in/t0560.cc: -------------------------------------------------------------------------------- 1 | // t0560.cc 2 | // operator= that does not take a reference 3 | 4 | struct A { 5 | void operator=(A) {} 6 | }; 7 | 8 | struct B : A {}; 9 | -------------------------------------------------------------------------------- /elsa/in/t0589.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/t0589.cc -------------------------------------------------------------------------------- /elsa/in/t0590.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/t0590.cc -------------------------------------------------------------------------------- /elsa/in/t0591.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/elsa/in/t0591.cc -------------------------------------------------------------------------------- /libqual/config/sleepy.cq: -------------------------------------------------------------------------------- 1 | /* see License.txt for copyright and terms of use */ 2 | 3 | unsigned long fake_interrupt_status = ($enabled unsigned long) (1); 4 | -------------------------------------------------------------------------------- /libqual/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # see License.txt for copyright and terms of use 4 | 5 | echo "No configure yet." 6 | -------------------------------------------------------------------------------- /libregion/.gitignore: -------------------------------------------------------------------------------- 1 | # dependency files 2 | *.d 3 | # objects 4 | *.o 5 | # archives 6 | *.a 7 | -------------------------------------------------------------------------------- /libregion/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # see License.txt for copyright and terms of use 4 | 5 | echo "No configure yet." 6 | -------------------------------------------------------------------------------- /libregion/cqual-stdint.h: -------------------------------------------------------------------------------- 1 | /* see License.txt for copyright and terms of use */ 2 | 3 | #include 4 | -------------------------------------------------------------------------------- /oink-scripts/Makefile: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | 3 | .PHONY: all clean check check-full distclean 4 | all clean check check-full distclean: 5 | @echo "(nothing to do for '$@' in oink-scripts)" 6 | -------------------------------------------------------------------------------- /oink-scripts/doc/INSTALL.txt: -------------------------------------------------------------------------------- 1 | The oink-scripts repository should be a child of cqual++-stack or oink-stack. 2 | -------------------------------------------------------------------------------- /oink/Doc/License.txt: -------------------------------------------------------------------------------- 1 | ../License.txt -------------------------------------------------------------------------------- /oink/Doc/releases: -------------------------------------------------------------------------------- 1 | ../../releases -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_const-array-init.cor: -------------------------------------------------------------------------------- 1 | f.b.a[0] = 3; 2 | f.b.a[1] = 4; 3 | f.b.a[2] = 5; 4 | f.b.a[3] = 6; 5 | f.b.f2 = 2; 6 | f.f1 = 1; 7 | values[0] = 13; 8 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init1.cor: -------------------------------------------------------------------------------- 1 | memory[0].s1.f1 = 1; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init10.cor: -------------------------------------------------------------------------------- 1 | x.tint = 5; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init11.cor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/oink/LibCpdInit/Test/cil_init11.cor -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init14.cor: -------------------------------------------------------------------------------- 1 | __constr_expr_0[0] = 1; 2 | __constr_expr_0[1] = 2; 3 | __constr_expr_0[2] = 3; 4 | __constr_expr_0[3] = 4; 5 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init4.cor: -------------------------------------------------------------------------------- 1 | link[0].length = 11; 2 | link[0].to = 1; 3 | link[1].length = 22; 4 | link[1].to = 2; 5 | link[2].length = 33; 6 | link[2].to = 3; 7 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_init8.cor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/oink/LibCpdInit/Test/cil_init8.cor -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/cil_initial.cor: -------------------------------------------------------------------------------- 1 | x.tag[0] = 1; 2 | x.tag[1] = 2; 3 | x.tag[2] = 3; 4 | x.x = 5; 5 | x1.d1.b = 5; 6 | x1.d2.a = 9; 7 | x1.x = 7; 8 | x2[5].tag[0] = 8; 9 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1A.cor: -------------------------------------------------------------------------------- 1 | f.x = 1; 2 | f.xp = ip; 3 | f.y = 2; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1B.cor: -------------------------------------------------------------------------------- 1 | f2.x2 = 1; 2 | f2.xp2 = ip; 3 | f2.y2 = 2; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1C.cor: -------------------------------------------------------------------------------- 1 | __constr_expr_0.xB = 1; 2 | __constr_expr_0.xpB = ip; 3 | __constr_expr_0.yB = 2; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1D.cor: -------------------------------------------------------------------------------- 1 | __constr_expr_0.x2B = 1; 2 | __constr_expr_0.xp2B = ip; 3 | __constr_expr_0.y2B = 2; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1E.cor: -------------------------------------------------------------------------------- 1 | g.f3.x3 = 1; 2 | g.f3.y3 = 2; 3 | g.f4.x4 = 6; 4 | g.f4.y4 = 7; 5 | g.z[0] = 3; 6 | g.z[1] = 4; 7 | g.z[2] = 5; 8 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1F.cor: -------------------------------------------------------------------------------- 1 | gb.f3b.x3b = 1; 2 | gb.f3b.y3b = 2; 3 | gb.f4b.x4b = 6; 4 | gb.f4b.y4b = 7; 5 | gb.zb[0] = 3; 6 | gb.zb[1] = 4; 7 | gb.zb[2] = 5; 8 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1G.cor: -------------------------------------------------------------------------------- 1 | gc.f3c.x3c = 1; 2 | gc.f3c.y3c = 2; 3 | gc.f4c.x4c = 6; 4 | gc.f4c.y4c = 7; 5 | gc.zc[0] = 3; 6 | gc.zc[1] = 4; 7 | gc.zc[2] = 5; 8 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit1I.cor: -------------------------------------------------------------------------------- 1 | gb.zb[0] = 1; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit3A.cor: -------------------------------------------------------------------------------- 1 | f1.y1[2] = 1; 2 | f1.z1 = 2; 3 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit3B.cor: -------------------------------------------------------------------------------- 1 | f2.y2[2] = 1; 2 | f2.z2 = 2; 3 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit3C.cor: -------------------------------------------------------------------------------- 1 | f3.y3[2] = 1; 2 | f3.z3 = 2; 3 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit3D.cor: -------------------------------------------------------------------------------- 1 | f4.y4[2] = 1; 2 | f4.z4 = 2; 3 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit4A.cor: -------------------------------------------------------------------------------- 1 | s.u.x = 2; 2 | s.w = 1; 3 | s.z = 3; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit4B.cor: -------------------------------------------------------------------------------- 1 | sb.ub.yb = 1; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit5A.cor: -------------------------------------------------------------------------------- 1 | f.b.a = "hello"; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit5Aw.cor: -------------------------------------------------------------------------------- 1 | f.b.a = L"hello"; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit5B.cor: -------------------------------------------------------------------------------- 1 | f2.b2.a2[0] = 'h'; 2 | f2.b2.a2[1] = 'e'; 3 | f2.b2.a2[2] = 'l'; 4 | f2.b2.a2[3] = 'l'; 5 | f2.b2.a2[4] = 'o'; 6 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit8_chararraymem.cor: -------------------------------------------------------------------------------- 1 | user_mode[0].name = "640x480-60"; 2 | user_mode[0].par.video = 121; 3 | user_mode[0].par.x = 8; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit9_chararr.c: -------------------------------------------------------------------------------- 1 | const char zaddr[6] = { 2 | 0, 3 | }; 4 | -------------------------------------------------------------------------------- /oink/LibCpdInit/Test/compoundinit9_chararr.cor: -------------------------------------------------------------------------------- 1 | zaddr[0] = 0; 2 | -------------------------------------------------------------------------------- /oink/LibCpdInit/configure: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #-*-sh-*- 3 | # see License.txt for copyright and terms of use 4 | 5 | echo "Configure does nothing for now." -------------------------------------------------------------------------------- /oink/Pork/.gitignore: -------------------------------------------------------------------------------- 1 | stopwatch 2 | -------------------------------------------------------------------------------- /oink/Pork/Test/.gitignore: -------------------------------------------------------------------------------- 1 | foo 2 | foo.i 3 | foo.i.out 4 | -------------------------------------------------------------------------------- /oink/Pork/Test/foo.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void f() { 4 | printf("f\n"); 5 | } 6 | 7 | int main() { 8 | printf("main\n"); 9 | f(); 10 | f(); 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /oink/Test/Makefile: -------------------------------------------------------------------------------- 1 | # see License.txt for copyright and terms of use 2 | .SUFFIXES: 3 | %:;$(MAKE) -C .. $* # delegate to the above makefile 4 | -------------------------------------------------------------------------------- /oink/Test/Module_analysis/.gitignore: -------------------------------------------------------------------------------- 1 | Hide* 2 | *.i 3 | *.o 4 | *.exe 5 | ho.lattice 6 | ho2.lattice 7 | -------------------------------------------------------------------------------- /oink/Test/Module_analysis/bar.mod: -------------------------------------------------------------------------------- 1 | lib_bar.h 2 | lib_bar.c 3 | -------------------------------------------------------------------------------- /oink/Test/Module_analysis/foo.mod: -------------------------------------------------------------------------------- 1 | lib_foo.c 2 | lib_foo.h 3 | -------------------------------------------------------------------------------- /oink/Test/Module_analysis/hello.mod: -------------------------------------------------------------------------------- 1 | hello.c 2 | -------------------------------------------------------------------------------- /oink/Test/Module_analysis/hello2.mod: -------------------------------------------------------------------------------- 1 | hello2.c 2 | -------------------------------------------------------------------------------- /oink/Test/Module_xform/gronk.h: -------------------------------------------------------------------------------- 1 | #ifndef GRONK_H 2 | #define GRONK_H 3 | 4 | struct Gronk { 5 | int x; 6 | }; 7 | 8 | #endif // GRONK_H 9 | -------------------------------------------------------------------------------- /oink/Test/Pork_demo/.gdbinit: -------------------------------------------------------------------------------- 1 | file ../../Pork/stopwatch 2 | 3 | set args hello.ii 4 | 5 | break main 6 | break breaker 7 | 8 | run 9 | -------------------------------------------------------------------------------- /oink/Test/Pork_demo/.gitignore: -------------------------------------------------------------------------------- 1 | hello.ii 2 | hello_stopwatch.diff 3 | hello_stopwatch.cpp 4 | -------------------------------------------------------------------------------- /oink/Test/Pork_demo/0Readme: -------------------------------------------------------------------------------- 1 | Type "make" to perform the transformation and view the difference. 2 | 3 | See the Makefile for an explanation of the process. 4 | -------------------------------------------------------------------------------- /oink/Test/Quickstart1/.gitignore: -------------------------------------------------------------------------------- 1 | *.i 2 | *.s 3 | hello 4 | -------------------------------------------------------------------------------- /oink/Test/Quickstart1/g.h: -------------------------------------------------------------------------------- 1 | #ifndef G_H 2 | #define G_H 3 | 4 | /* print out some data */ 5 | void g(char *data); 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /oink/Test/Test: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /oink/Test/abstract-func.cc: -------------------------------------------------------------------------------- 1 | // test we can deal with an abstract function without barfing 2 | struct A { 3 | virtual void f() = 0; 4 | }; 5 | -------------------------------------------------------------------------------- /oink/Test/allvalues.cc: -------------------------------------------------------------------------------- 1 | // all the abstract values 2 | 3 | int a; 4 | int *b; 5 | int const &c = 3; 6 | int d[3]; 7 | int e(int d1, float d2); 8 | struct A { 9 | }; 10 | int (A::*f); 11 | -------------------------------------------------------------------------------- /oink/Test/anon_struct3a.cc: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | int x; 4 | } * const *S1; 5 | 6 | static int foo(S1*) {} 7 | 8 | int main() 9 | { 10 | return foo(0); 11 | } 12 | -------------------------------------------------------------------------------- /oink/Test/assign1.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | int $tainted t; 4 | int $untainted u; 5 | 6 | int i; 7 | 8 | u = (i = t); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/assign2.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | int $tainted t; 4 | int $untainted u; 5 | 6 | int i; 7 | 8 | u = (i += t); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/attralias2a.c: -------------------------------------------------------------------------------- 1 | 2 | extern int bar(int x); 3 | 4 | int main() 5 | { 6 | bar(0); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/attralias2b.c: -------------------------------------------------------------------------------- 1 | 2 | int bar(int x) __attribute__((alias("foo"))); 3 | 4 | int foo(int x) { 5 | return x; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/bar3.mod: -------------------------------------------------------------------------------- 1 | lib_bar.h 2 | lib_bar.c 3 | -------------------------------------------------------------------------------- /oink/Test/bool.i: -------------------------------------------------------------------------------- 1 | // int y; 2 | bool x; 3 | -------------------------------------------------------------------------------- /oink/Test/bool.ii: -------------------------------------------------------------------------------- 1 | // int y; 2 | bool x; 3 | -------------------------------------------------------------------------------- /oink/Test/bool_member.i: -------------------------------------------------------------------------------- 1 | struct s0 { 2 | bool y; 3 | }; 4 | -------------------------------------------------------------------------------- /oink/Test/builtin1.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | __builtin_acosf(0.5); 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/builtin2.cc: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: 2068fccd-bce0-4634-888c-06063852a47c 2 | 3 | // check that builtins typecheck 4 | 5 | int __builtin_putchar(int x) { 6 | return x; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/builtin2b.c: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: 2068fccd-bce0-4634-888c-06063852a47c 2 | 3 | // check that builtins typecheck 4 | 5 | int __builtin_putchar(int x) { 6 | return x; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/builtin3.cc: -------------------------------------------------------------------------------- 1 | // check that taint flows for builtins 2 | 3 | int main() 4 | { 5 | int $tainted t; 6 | int $untainted u; 7 | u = __builtin_putchar(t); // BAD 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/builtin3b.c: -------------------------------------------------------------------------------- 1 | // check that taint flows for builtins 2 | 3 | int main() 4 | { 5 | int $tainted t; 6 | int $untainted u; 7 | u = __builtin_putchar(t); // BAD 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_binop.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 3 * 5 + 7 != 22; 3 | } 4 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_do_while.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1000; 4 | do { 5 | x = x - 1; 6 | } while (x > 0); 7 | return x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_do_while_2.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1; 4 | do { 5 | x = x - 1; 6 | } while (0); 7 | return x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_do_while_3.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1; 4 | do { 5 | return 0; 6 | } while (1); 7 | return 1; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_do_while_4.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1; 4 | do { 5 | return 0; 6 | } while (1); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_for.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | for (x=1000; x > 0; x = x - 1) { 4 | } 5 | return x; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_func_call.c: -------------------------------------------------------------------------------- 1 | int f(void) { 2 | return 0; 3 | } 4 | 5 | int main(void) { 6 | return f(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_func_call_2.c: -------------------------------------------------------------------------------- 1 | int f(int x) { 2 | return x - 1; 3 | } 4 | 5 | int main(void) { 6 | return f(1); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_if.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1; 4 | if (x == 1) { 5 | return 0; 6 | } 7 | return 1; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_if_else.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1; 4 | if (x == 2) { 5 | return 1; 6 | } else { 7 | return 0; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_if_else_2.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x, y; 3 | x = 1; 4 | if (x == 2) { 5 | y = 1; 6 | } else { 7 | y = 0; 8 | } 9 | return y; 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_trivial.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | return 0; 3 | } 4 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_variables.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | int y; 4 | x = 1; 5 | y = 2; 6 | return x + y != 3; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_while.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | x = 1000; 4 | while (x > 0) { 5 | x = x - 1; 6 | } 7 | return x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_while_2.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | while (1) { 3 | return 0; 4 | } 5 | return 1; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/bullet/bullet_test_while_3.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | while (0) { 3 | return 1; 4 | } 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/c_keyword_as_cpp_id.i: -------------------------------------------------------------------------------- 1 | // from 4Suite-0.11.1-13/OifSwig-S3Tz.i 2 | // this doesn't compile in C++ mode; not a bug 3 | typedef long int wchar_t; 4 | typedef unsigned int wint_t; 5 | -------------------------------------------------------------------------------- /oink/Test/cast_array_init1.cc: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: d9c59a03-caa2-4901-9058-1a3ba2397f8a 2 | 3 | int main() { 4 | (const char *[2]) {"FOO", "BAR"}; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/cast_assign.i: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x; 3 | int y; 4 | (int)x = y; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/cast_voidstar1.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | int $tainted t; 4 | int $untainted u; 5 | 6 | void *p; 7 | 8 | p = t; 9 | u = p; 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/cfgprint1.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | while(1) { 3 | if (1) break; 4 | else continue; 5 | } 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/completely_empty.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/oink/Test/completely_empty.c -------------------------------------------------------------------------------- /oink/Test/compoundinit12.c: -------------------------------------------------------------------------------- 1 | 2 | typedef struct { 3 | int a, b; 4 | } S1; 5 | S1 s1[] = { { 0, 0 } , 0 }; 6 | -------------------------------------------------------------------------------- /oink/Test/const2.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int const y; 3 | int *p; 4 | p = &y; 5 | *p = 3; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/const3.c: -------------------------------------------------------------------------------- 1 | // should fail but doesn't 2 | int main() { 3 | struct { 4 | int x; 5 | } const y = {2}; 6 | y.x = 3; 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/const_array.cc: -------------------------------------------------------------------------------- 1 | // you can get a const onto an array this way 2 | typedef char category_t[16]; 3 | const category_t &f(); 4 | -------------------------------------------------------------------------------- /oink/Test/deep1.c: -------------------------------------------------------------------------------- 1 | // works 2 | int main() { 3 | int $tainted **x; 4 | // void **y; 5 | void *y; 6 | int **z; 7 | y = x; // fails 8 | z = y; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/def_arg_cast.ii: -------------------------------------------------------------------------------- 1 | void g(int x = (int) 0); 2 | 3 | void f() { 4 | g(); 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/dfgprint1.c: -------------------------------------------------------------------------------- 1 | int f(int a) { 2 | return a; 3 | } 4 | 5 | int main() { 6 | int x = 3; 7 | int y = f(x); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/double_goto.i: -------------------------------------------------------------------------------- 1 | // from 4Suite-0.11.1-13/Oif.tab-ddlI.i.c_out 2 | 3 | // elsa can't handle two gotos to the same target 4 | int main() { 5 | goto a; 6 | goto a; 7 | a: ; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/dpfad_bad1.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $!argorderef **q; 3 | q; // bad 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/dpfad_bad2.c: -------------------------------------------------------------------------------- 1 | int $!argorderef **foo() { 2 | int $!argorderef **q; 3 | return q; // bad 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/dpfad_bad3.c: -------------------------------------------------------------------------------- 1 | int $!argorderef **foo(int $!argorderef **q) { 2 | return q; // bad 3 | } 4 | -------------------------------------------------------------------------------- /oink/Test/empty.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | } 3 | -------------------------------------------------------------------------------- /oink/Test/empty.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/oink/Test/empty.i -------------------------------------------------------------------------------- /oink/Test/empty_statement_expr1.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | ({}); 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/exception2.cc: -------------------------------------------------------------------------------- 1 | // -cc-catch-quals should provide the qualifier for the generic global 2 | // exception 3 | int main() { 4 | int $tainted y; 5 | throw y; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/exclude_amp_star_bad1.c: -------------------------------------------------------------------------------- 1 | // exclude '&*' 2 | int main() { 3 | int *x; 4 | *x = 3; 5 | int *y = &*x; 6 | *y = 4; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/exclude_bad1.c: -------------------------------------------------------------------------------- 1 | // don't allow nonglobal qualifier in global 2 | 3 | int $!nonglobal x; 4 | -------------------------------------------------------------------------------- /oink/Test/exclude_bad2.c: -------------------------------------------------------------------------------- 1 | // don't allow nonglobal qualifier in global 2 | 3 | int $!nonglobal * x; 4 | -------------------------------------------------------------------------------- /oink/Test/exclude_bad3.c: -------------------------------------------------------------------------------- 1 | // don't allow nonglobal qualifier in global 2 | 3 | void f() { 4 | static int $!nonglobal * x; // this is also a global 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/exclude_cast_bad1.c: -------------------------------------------------------------------------------- 1 | // don't allow noncast in casts 2 | 3 | int main() { 4 | int x; 5 | int y = (int $!noncast) x; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/exclude_cast_bad2.cc: -------------------------------------------------------------------------------- 1 | // don't allow noncast in casts 2 | 3 | int main() { 4 | int x; 5 | int y = static_cast(x); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/exclude_star_amp_bad1.c: -------------------------------------------------------------------------------- 1 | // exclude '*&' 2 | int main() { 3 | int x; 4 | int z = *&x; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/exclude_star_amp_good1.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int *x; 3 | *x = 3; 4 | int **y = &x; 5 | int *z = *y; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/expect1.cc: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | int $tainted t; 4 | int $untainted u; 5 | u = __builtin_expect(t, 1); // BAD 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func4a.c: -------------------------------------------------------------------------------- 1 | extern inline char foo(); 2 | 3 | char foo() { 4 | char $tainted c = 'x'; 5 | return c; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func4b.c: -------------------------------------------------------------------------------- 1 | int myprintf(char $untainted * fmt, ...) {} 2 | 3 | char foo(); 4 | 5 | int main() { 6 | char c = foo(); 7 | myprintf(&c); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func5b.c: -------------------------------------------------------------------------------- 1 | #ifdef __GNUC__ 2 | #define $tainted 3 | #define $untainted 4 | #endif 5 | 6 | int foo() 7 | { 8 | int $tainted t = 2; 9 | return t; 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func6b.c: -------------------------------------------------------------------------------- 1 | #ifdef __GNUC__ 2 | #define $tainted 3 | #define $untainted 4 | #endif 5 | 6 | int foo() 7 | { 8 | int $tainted t = 2; 9 | return t; 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func8a.cc: -------------------------------------------------------------------------------- 1 | extern int foo(); 2 | 3 | extern inline int foo() 4 | { 5 | } 6 | 7 | int main() 8 | { 9 | return foo(); 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/extern_inline_func8b.cc: -------------------------------------------------------------------------------- 1 | extern int foo(); 2 | 3 | extern inline int foo() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/extern_undefined1.cc: -------------------------------------------------------------------------------- 1 | extern int foo(); 2 | 3 | int main() 4 | { 5 | foo(); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/extern_undefined2.cc: -------------------------------------------------------------------------------- 1 | extern int foo(); 2 | 3 | int main() 4 | { 5 | &foo; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/extern_unused_undefined.cc: -------------------------------------------------------------------------------- 1 | extern int unused_function(); 2 | extern int unused_var; 3 | 4 | int main() 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/fail1.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $untainted q; 3 | q = ($tainted) 4; 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/func-gran-rev-mod-pub1.cor: -------------------------------------------------------------------------------- 1 | module:bar var:F:new_Bar 2 | module:bar var:F:weird_Bar 3 | module:default var:F:malloc 4 | module:default var:F:printf 5 | module:hello var:F:main 6 | -------------------------------------------------------------------------------- /oink/Test/func_attrs1.i: -------------------------------------------------------------------------------- 1 | void f() __attribute__((__noreturn__)); 2 | -------------------------------------------------------------------------------- /oink/Test/func_gran2.cc.fgcfg.cor: -------------------------------------------------------------------------------- 1 | V:super-main 2 | Test/func_gran2.cc:4:8:c0 SIG void ()(/*m*/ ) 3 | main 4 | 5 | -------------------------------------------------------------------------------- /oink/Test/func_gran2.cc.vars.cor: -------------------------------------------------------------------------------- 1 | F:main 2 | Test/func_gran2.cc:4:8:c0 SIG void ()(/*m*/ ) 3 | super-main 4 | -------------------------------------------------------------------------------- /oink/Test/func_gran4.cc.vars.cor: -------------------------------------------------------------------------------- 1 | F:Z::~Z SIG ()(/*m*/ ) 2 | F:f SIG void ()() 3 | F:g SIG void ()() 4 | Test/func_gran4.cc:16:3:constructor-special SIG ()() 5 | super-main 6 | -------------------------------------------------------------------------------- /oink/Test/func_gran5.cc.fgcfg.cor: -------------------------------------------------------------------------------- 1 | V:super-main 2 | main 3 | functionptr2 SIG void ()() 4 | functionptr1 SIG void ()() 5 | 6 | -------------------------------------------------------------------------------- /oink/Test/func_gran5.cc.vars.cor: -------------------------------------------------------------------------------- 1 | F:functionptr1 SIG void ()() 2 | F:functionptr2 SIG void ()() 3 | F:main 4 | super-main 5 | -------------------------------------------------------------------------------- /oink/Test/func_gran8.cc.vars.cor: -------------------------------------------------------------------------------- 1 | F:main 2 | Test/func_gran8.cc:8:11:foo1a SIG void ((*()()))(int) 3 | super-main 4 | -------------------------------------------------------------------------------- /oink/Test/func_gran9.cc.vars.cor: -------------------------------------------------------------------------------- 1 | F:foo SIG void ()(void ((*))(), void ((*))()) 2 | F:functionptr1 SIG void ()() 3 | F:functionptr2 SIG void ()() 4 | F:main 5 | super-main 6 | -------------------------------------------------------------------------------- /oink/Test/funcall2.c: -------------------------------------------------------------------------------- 1 | // works 2 | int $_1 gronk(int $_1 y); 3 | 4 | int main() { 5 | int $tainted x; 6 | int y = gronk(x); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/funccast_to_nonfunc1.cc: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: 3277a461-899e-4381-a487-c2d0dad40a97 2 | 3 | void foo(); 4 | 5 | int main() { 6 | (int) foo; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/funcptr1.c: -------------------------------------------------------------------------------- 1 | typedef void (*fn)(); 2 | 3 | int foo(fn f) {} 4 | -------------------------------------------------------------------------------- /oink/Test/funcptr_cast_to_compound1.cc: -------------------------------------------------------------------------------- 1 | struct S {}; 2 | 3 | typedef void (*funcptr)(void); 4 | 5 | int main() 6 | { 7 | S * s; 8 | funcptr f = (funcptr) s; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/funky4.c: -------------------------------------------------------------------------------- 1 | // int $_1 f(int $_1 x); 2 | int f(int x) {return x;} 3 | int main() { 4 | int $tainted a; 5 | int b; 6 | b = f(a); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/funky_strcat1.c: -------------------------------------------------------------------------------- 1 | char $_1_2 *strcat(char $_1_2 *dest, const char $_1 *src); 2 | 3 | int main() { 4 | char $tainted *x; 5 | char $untainted *y; 6 | strcat(y, x); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/gcc2_Bool.i: -------------------------------------------------------------------------------- 1 | // gcc 2.96 does not seem to define _Bool 2 | 3 | typedef enum 4 | { 5 | false = 0, 6 | true = 1 7 | } _Bool; 8 | 9 | _Bool x; 10 | -------------------------------------------------------------------------------- /oink/Test/hello2.cc: -------------------------------------------------------------------------------- 1 | struct A {}; 2 | struct Z : A {}; 3 | -------------------------------------------------------------------------------- /oink/Test/hello3.mod: -------------------------------------------------------------------------------- 1 | hello3.c 2 | -------------------------------------------------------------------------------- /oink/Test/helloA.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int x = 3; 3 | ++x; 4 | int y = 1; 5 | y = x + 2; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/hello_stack_access.c: -------------------------------------------------------------------------------- 1 | void wow(int *x0); 2 | int baz() { 3 | int z; 4 | int *x = &z; 5 | wow(x); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/implicit1.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | }; 3 | 4 | int main() 5 | { 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/implicit2.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | }; 3 | -------------------------------------------------------------------------------- /oink/Test/inc_ref.cc: -------------------------------------------------------------------------------- 1 | int main() { 2 | int mEncStep; 3 | (++mEncStep)%=8; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/inconsistent_function1b.cc: -------------------------------------------------------------------------------- 1 | //float foo(void) {} 2 | float foo; 3 | -------------------------------------------------------------------------------- /oink/Test/inconsistent_implicit1a.cc: -------------------------------------------------------------------------------- 1 | // quarl 2006-06-07 2 | // Make sure we refuse to link two functions if one is implicit and another is not 3 | 4 | struct S { 5 | S(); 6 | }; 7 | -------------------------------------------------------------------------------- /oink/Test/inconsistent_implicit1b.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | }; 3 | -------------------------------------------------------------------------------- /oink/Test/inherit0.ii: -------------------------------------------------------------------------------- 1 | class A {}; 2 | class B : public A {}; 3 | -------------------------------------------------------------------------------- /oink/Test/inline1a.cc: -------------------------------------------------------------------------------- 1 | void foo(); 2 | 3 | inline void foo() {} 4 | 5 | int main() {} 6 | -------------------------------------------------------------------------------- /oink/Test/inline1b.cc: -------------------------------------------------------------------------------- 1 | void foo(); 2 | 3 | inline void foo() {} 4 | -------------------------------------------------------------------------------- /oink/Test/inline2b.cc: -------------------------------------------------------------------------------- 1 | extern int foo(void); 2 | 3 | inline int foo(void) 4 | { 5 | return 42; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/inline3a.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | void foo(); 3 | }; 4 | 5 | inline void S::foo() {} 6 | 7 | int main() {} 8 | -------------------------------------------------------------------------------- /oink/Test/inline3b.cc: -------------------------------------------------------------------------------- 1 | struct S { 2 | void foo(); 3 | }; 4 | 5 | inline void S::foo() {} 6 | -------------------------------------------------------------------------------- /oink/Test/inline4a.cc: -------------------------------------------------------------------------------- 1 | int foo(); 2 | 3 | int main() 4 | { 5 | return foo(); // should get "undefined" error 6 | } 7 | 8 | -------------------------------------------------------------------------------- /oink/Test/inline4b.cc: -------------------------------------------------------------------------------- 1 | inline int foo() {} 2 | -------------------------------------------------------------------------------- /oink/Test/inline5a.c: -------------------------------------------------------------------------------- 1 | // in C, inline functions are not automatically static. 2 | 3 | int foo(); 4 | 5 | int main() { 6 | return foo(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/inline5b.c: -------------------------------------------------------------------------------- 1 | inline int foo() {} 2 | -------------------------------------------------------------------------------- /oink/Test/inline6a.c: -------------------------------------------------------------------------------- 1 | // in C, inline functions are not automatically static. 2 | 3 | inline int foo() {} 4 | 5 | int main() { 6 | return foo(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/inline6b.c: -------------------------------------------------------------------------------- 1 | inline int foo() {} 2 | -------------------------------------------------------------------------------- /oink/Test/inline_asm2.cc: -------------------------------------------------------------------------------- 1 | // inline assembly 2 | 3 | __asm__(".section .modinfo\n\t.previous"); 4 | -------------------------------------------------------------------------------- /oink/Test/instance_sensitive_srz4a.c: -------------------------------------------------------------------------------- 1 | extern void foo(char * p); 2 | 3 | int main() 4 | { 5 | char buf[1024]; 6 | foo(buf); 7 | 8 | char $untainted * p = buf; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/instance_sensitive_srz4b.c: -------------------------------------------------------------------------------- 1 | void foo(void * p) { 2 | char $tainted c; 3 | *( (char*) p ) = c; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/int_as_void_star_poly5a.c: -------------------------------------------------------------------------------- 1 | // check that int-as-void* works across serialization 2 | 3 | void f(int x) { 4 | float $untainted * fp = (float*) x; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/int_as_void_star_poly5b.c: -------------------------------------------------------------------------------- 1 | // check that int-as-void* works across serialization 2 | 3 | void f(int x); 4 | 5 | int main() { 6 | float $tainted * fp0; 7 | f((int)fp0); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/kernel1.c: -------------------------------------------------------------------------------- 1 | int $kernel x; 2 | int $user y; 3 | int main(void) { 4 | x && y; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/keywords1.cc: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: Parse error.*at change_type 2 | 3 | int change_type; 4 | -------------------------------------------------------------------------------- /oink/Test/lib_foo_simple1_foo.mod: -------------------------------------------------------------------------------- 1 | lib_foo.c 2 | -------------------------------------------------------------------------------- /oink/Test/lib_foo_simple1_hello.mod: -------------------------------------------------------------------------------- 1 | hello.h 2 | -------------------------------------------------------------------------------- /oink/Test/link_inline1a.cc: -------------------------------------------------------------------------------- 1 | // link with link_inline1b.cc. 2 | 3 | // Notice that 'static' is not explicitly specified. 4 | 5 | inline void foo() {} 6 | 7 | int main() {} 8 | -------------------------------------------------------------------------------- /oink/Test/link_inline1b.cc: -------------------------------------------------------------------------------- 1 | inline void foo() {} 2 | -------------------------------------------------------------------------------- /oink/Test/link_static1.cc: -------------------------------------------------------------------------------- 1 | // foo is not defined at link time. This should give a link error. 2 | 3 | static int foo(); 4 | 5 | int main() 6 | { 7 | foo(); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/link_template_function_inst1a.cc: -------------------------------------------------------------------------------- 1 | template 2 | void foo() { 3 | } 4 | 5 | int bar1() 6 | { 7 | foo(); 8 | } 9 | 10 | int main() 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /oink/Test/link_template_function_inst1b.cc: -------------------------------------------------------------------------------- 1 | template 2 | void foo() { 3 | } 4 | 5 | int bar2() 6 | { 7 | foo(); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/linkage1.c: -------------------------------------------------------------------------------- 1 | extern "C" int oink(int); 2 | -------------------------------------------------------------------------------- /oink/Test/linker_resolve_vars1a.c: -------------------------------------------------------------------------------- 1 | extern int x; 2 | int main() 3 | { 4 | x = 1; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/linker_resolve_vars1b.c: -------------------------------------------------------------------------------- 1 | int x; 2 | -------------------------------------------------------------------------------- /oink/Test/linker_resolve_vars2.c: -------------------------------------------------------------------------------- 1 | // declaration of extern int without use; shouldn't require definition 2 | 3 | extern int x; 4 | -------------------------------------------------------------------------------- /oink/Test/main_externc1b.c: -------------------------------------------------------------------------------- 1 | int main(int argc, char $tainted **argv, char $tainted **env); 2 | -------------------------------------------------------------------------------- /oink/Test/method_call11a.cc: -------------------------------------------------------------------------------- 1 | // Test virtual method call across translation units. A multi-file test. 2 | class A; 3 | -------------------------------------------------------------------------------- /oink/Test/min1_d0008.cc: -------------------------------------------------------------------------------- 1 | // minimized by hand from elsa/in/d0008.cc 2 | template 3 | struct C { 4 | C (int); 5 | }; 6 | struct B {}; 7 | C r(1); 8 | -------------------------------------------------------------------------------- /oink/Test/mod_access_hello_bad.mod: -------------------------------------------------------------------------------- 1 | Test/mod_access_hello.filter-bad.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_access_hello_good.mod: -------------------------------------------------------------------------------- 1 | Test/mod_access_hello.filter-good.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_bar.mod: -------------------------------------------------------------------------------- 1 | Test/mod_trust_bar.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_baz.mod: -------------------------------------------------------------------------------- 1 | Test/mod_baz.cc 2 | -------------------------------------------------------------------------------- /oink/Test/mod_foo.mod: -------------------------------------------------------------------------------- 1 | Test/mod_lib_foo.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_foo_dupl.mod: -------------------------------------------------------------------------------- 1 | # have a duplicate entry for a file for duplicate testing 2 | a.c 3 | b.c 4 | a.c 5 | -------------------------------------------------------------------------------- /oink/Test/mod_gronk.cc: -------------------------------------------------------------------------------- 1 | #include "mod_gronk.h" 2 | 3 | int Gronk::read_q() { 4 | return q; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/mod_gronk.h: -------------------------------------------------------------------------------- 1 | #ifndef MOD_GRONK_H 2 | #define MOD_GRONK_H 3 | 4 | struct Gronk { 5 | int q; 6 | 7 | int read_q(); 8 | }; 9 | 10 | #endif // MOD_GRONK_H 11 | -------------------------------------------------------------------------------- /oink/Test/mod_gronk.mod: -------------------------------------------------------------------------------- 1 | Test/mod_gronk.h 2 | Test/mod_gronk.cc 3 | -------------------------------------------------------------------------------- /oink/Test/mod_gronk_other.cc: -------------------------------------------------------------------------------- 1 | struct Gronk { 2 | int q; 3 | 4 | int read_q(); 5 | }; 6 | -------------------------------------------------------------------------------- /oink/Test/mod_gronk_other.mod: -------------------------------------------------------------------------------- 1 | Test/mod_gronk_other.cc 2 | -------------------------------------------------------------------------------- /oink/Test/mod_trust_hello_bad.mod: -------------------------------------------------------------------------------- 1 | Test/mod_trust_hello.filter-bad.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_trust_hello_good.mod: -------------------------------------------------------------------------------- 1 | Test/mod_trust_hello.filter-good.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_waga.mod: -------------------------------------------------------------------------------- 1 | Test/waga_stack_access.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_write_hello_bad.mod: -------------------------------------------------------------------------------- 1 | Test/mod_write_hello.filter-bad.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_write_hello_good.mod: -------------------------------------------------------------------------------- 1 | Test/mod_write_hello.filter-good.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_write_hello_stack_bad.mod: -------------------------------------------------------------------------------- 1 | Test/mod_write_hello_stack.filter-bad.c 2 | -------------------------------------------------------------------------------- /oink/Test/mod_write_hello_stack_good.mod: -------------------------------------------------------------------------------- 1 | Test/mod_write_hello_stack.filter-good.c 2 | -------------------------------------------------------------------------------- /oink/Test/multi1.in: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | Test/multi1_a.c 4 | 5 | # wow this works 6 | Test/multi1_b.c # some whitespace 7 | 8 | 9 | # some blank lines -------------------------------------------------------------------------------- /oink/Test/multi1_a.c: -------------------------------------------------------------------------------- 1 | // this is part one of a multiple file input 2 | int gronk(int x) { 3 | return x; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/multi2_a.c: -------------------------------------------------------------------------------- 1 | // this is part one of a multiple file input 2 | int gronk(int x) { 3 | return x; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/multi3_a.c: -------------------------------------------------------------------------------- 1 | // this is part one of a multiple file input 2 | int gronk(int x) { 3 | return x; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/multi4_a.c: -------------------------------------------------------------------------------- 1 | // this is part one of a multiple file input 2 | int gronk(int x) { 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/multi5_a.c: -------------------------------------------------------------------------------- 1 | // this is part one of a multiple file input 2 | int gronk(int x) { 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/multi_enum1a.cc: -------------------------------------------------------------------------------- 1 | enum E { 2 | e1 3 | }; 4 | -------------------------------------------------------------------------------- /oink/Test/multi_enum1b.cc: -------------------------------------------------------------------------------- 1 | int x; 2 | enum E { 3 | e1 4 | }; 5 | -------------------------------------------------------------------------------- /oink/Test/nested_func.cc: -------------------------------------------------------------------------------- 1 | // nested functions 2 | int main() { 3 | int f() { 4 | int x = f(); 5 | return x; 6 | } 7 | int y; 8 | y = f(); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/new1.cc: -------------------------------------------------------------------------------- 1 | int *x = new int; 2 | -------------------------------------------------------------------------------- /oink/Test/no_candidate1.cc: -------------------------------------------------------------------------------- 1 | class A { 2 | public: 3 | int x; 4 | A(int x0) : x(x0) {} 5 | }; 6 | 7 | int main() { 8 | A a0; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/nosize_array_init.c: -------------------------------------------------------------------------------- 1 | int a[] = {11, [3] = 12}; 2 | int b[] = (int[]) {13, [4] = 14}; 3 | -------------------------------------------------------------------------------- /oink/Test/nosize_array_init.c.cor: -------------------------------------------------------------------------------- 1 | var: int a[4] 2 | var: int b[5] 3 | type: int (&)[5] 4 | var: int /*anon*/[] 5 | -------------------------------------------------------------------------------- /oink/Test/null.c: -------------------------------------------------------------------------------- 1 | // check if you can assign null to a pointer 2 | int main() { 3 | // char *config = (char *)((void *)0); 4 | char *config = 0; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/nvar_bad1.c: -------------------------------------------------------------------------------- 1 | void f(int*, int **); 2 | 3 | int main() { 4 | int $!noargandref *x2; 5 | f(x2, &x2); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/nvar_bad2.c: -------------------------------------------------------------------------------- 1 | void f(int *, int **); 2 | 3 | int g2(int **); 4 | 5 | int main() { 6 | int $!noargandref *x2; 7 | f( g2(&x2), x2 ); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/nvar_bad3.c: -------------------------------------------------------------------------------- 1 | void f(int *, int **); 2 | 3 | int main() { 4 | int $!noargandref *x2; 5 | f( x2 = 3, x2 ); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/oink_link_unsat1.cc: -------------------------------------------------------------------------------- 1 | extern int foo(); 2 | int foo(); 3 | 4 | int main() 5 | { 6 | foo(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/operator_bracket.ii: -------------------------------------------------------------------------------- 1 | class C { 2 | double operator [] (int n) { return 2.0 * n; } 3 | }; 4 | 5 | int main() 6 | { 7 | C c; 8 | double d = c[5]; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/overload_implicit_dtor1.cc: -------------------------------------------------------------------------------- 1 | int main() { 2 | struct fooB {int xB;}; 3 | struct fooB *fB = new fooB(); 4 | fB->~fooB(); 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/parse_mess2.cc: -------------------------------------------------------------------------------- 1 | int $A * $B y; 2 | class MustBeMembers { 3 | int $C foo($D int a) $E const; 4 | }; 5 | int $C MustBeMembers::foo($D int a) $E const { 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/poly4.c: -------------------------------------------------------------------------------- 1 | 2 | int foo(int x) { return x; } 3 | 4 | int main() 5 | { 6 | int $tainted t; 7 | int $untainted u; 8 | 9 | u = foo(t); // BAD 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/polydecl3B.c: -------------------------------------------------------------------------------- 1 | void foo($_1 int *x); 2 | // { 3 | // } 4 | 5 | void main(void) 6 | { 7 | $tainted int a; 8 | int b; 9 | 10 | foo(&a); 11 | foo(&b); 12 | } 13 | -------------------------------------------------------------------------------- /oink/Test/prelude_A0.c: -------------------------------------------------------------------------------- 1 | // test funky 2 | int $_1_2 f(int $_1 q); 3 | int main() { 4 | int $tainted x; 5 | int $untainted y; 6 | y = f(x); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/prelude_A02.c: -------------------------------------------------------------------------------- 1 | // test funky 2 | void f(char $_1 *a, char $_1_2 *b); 3 | 4 | int main() { 5 | char $tainted *x; 6 | char $untainted *y; 7 | f(x, y); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/prelude_A0a.c: -------------------------------------------------------------------------------- 1 | // test funky 2 | int $_1_2 f(int $_1 q); 3 | -------------------------------------------------------------------------------- /oink/Test/prelude_A0b.c: -------------------------------------------------------------------------------- 1 | int f(int q); 2 | 3 | int main() { 4 | int $tainted x; 5 | int $untainted y; 6 | y = f(x); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/prelude_A4a.c: -------------------------------------------------------------------------------- 1 | // this funky qualifier causes flow from the arugument to the return 2 | int $_1_2 f(int $_1 x); 3 | -------------------------------------------------------------------------------- /oink/Test/prelude_A4b.ctl: -------------------------------------------------------------------------------- 1 | ignore-body-qual: 2 | file = Test/prelude_A4b.c 3 | name = f 4 | -------------------------------------------------------------------------------- /oink/Test/ptr-to-member-cast1.cc: -------------------------------------------------------------------------------- 1 | // ERR-MATCH: 18cca471-ba67-40dd-865a-c787b1c65ade 2 | 3 | class Foo {}; 4 | 5 | int main() { 6 | (int Foo::*)0; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/ptr-to-memberI.cc: -------------------------------------------------------------------------------- 1 | // illegal pointer to member declarations 2 | class A; 3 | 4 | int main() { 5 | int A::*q; 6 | int & A::*q2; // illegal 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/ref1.c: -------------------------------------------------------------------------------- 1 | // FIX: I think this one is wrong. Doesn't unify y and x. 2 | int main() { 3 | int $tainted x; 4 | int &y = x; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/repeated.i: -------------------------------------------------------------------------------- 1 | # 42 "/foo.h" 42 42 2 | 3 | -------------------------------------------------------------------------------- /oink/Test/return_func1.c: -------------------------------------------------------------------------------- 1 | int foo() {} 2 | 3 | typedef int (*intfunc_t)(); 4 | 5 | intfunc_t bar() { 6 | return & foo; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/segfault1.c: -------------------------------------------------------------------------------- 1 | // this file causes cc_qual to segfault during parsing 2 | static $tainted int x; 3 | -------------------------------------------------------------------------------- /oink/Test/simple1.c: -------------------------------------------------------------------------------- 1 | int $tainted x; 2 | -------------------------------------------------------------------------------- /oink/Test/simple2.c: -------------------------------------------------------------------------------- 1 | // will not parse 2 | //typedef $tainted int x; 3 | typedef int $tainted x; 4 | -------------------------------------------------------------------------------- /oink/Test/simple4.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $tainted x; 3 | int *y; 4 | y = &x; 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/simple5.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $tainted x; 3 | x = 3; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/simple_str.c: -------------------------------------------------------------------------------- 1 | char *a = "hello"; 2 | -------------------------------------------------------------------------------- /oink/Test/sizelessarray1.cc: -------------------------------------------------------------------------------- 1 | // test that an exception is thrown when you try to take the size of a 2 | // sizeless arrray 3 | int a[]; 4 | int b = sizeof(a); 5 | 6 | -------------------------------------------------------------------------------- /oink/Test/stack_alloc_parse_qual.cc: -------------------------------------------------------------------------------- 1 | // test if we can tell what variables are allocated on the stack 2 | 3 | int $bar * $foo x; // global: no 4 | -------------------------------------------------------------------------------- /oink/Test/stackness1.c: -------------------------------------------------------------------------------- 1 | // do we find a pointer to a stack stored into a global? 2 | 3 | int *g; 4 | 5 | int main() { 6 | int s; 7 | g = &s; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/staticprint1.cc: -------------------------------------------------------------------------------- 1 | class A {}; 2 | class B : public virtual A {}; 3 | class C : public virtual A {}; 4 | class D : public A {}; 5 | class E : public B, public D {}; 6 | -------------------------------------------------------------------------------- /oink/Test/stkvarreg_bad1.c: -------------------------------------------------------------------------------- 1 | void register_var(int **); 2 | 3 | void foo() { 4 | int $!regme *v4; // this one must be registered 5 | // and is not 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/struct_sizeof.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | struct a { 3 | int a0; // in C++, can't name it "a" 4 | int b0; 5 | }; 6 | int x[sizeof (struct a)]; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/struct_sizeof.c.correct: -------------------------------------------------------------------------------- 1 | // -*-c++-*- 2 | 3 | int main() { 4 | struct a { 5 | int a0; 6 | int b0; 7 | }; 8 | int x[8]; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/t1000.cc: -------------------------------------------------------------------------------- 1 | // atomic = atomic 2 | int main() { 3 | int $untainted x; 4 | int $tainted y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1001.cc: -------------------------------------------------------------------------------- 1 | // atomic = * 2 | int main() { 3 | int $untainted x; 4 | int * $tainted y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1001c.cc: -------------------------------------------------------------------------------- 1 | // atomic = * 2 | int main() { 3 | void $untainted * x; 4 | int * $tainted * y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1001e.cc: -------------------------------------------------------------------------------- 1 | // atomic = * 2 | int main() { 3 | int $untainted x; 4 | int $tainted * y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1002.cc: -------------------------------------------------------------------------------- 1 | // atomic = array (possible?) 2 | int main() { 3 | int $tainted x; 4 | int y [] $tainted; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1002b.cc: -------------------------------------------------------------------------------- 1 | // atomic = array (possible?) 2 | int main() { 3 | int $tainted x; 4 | int $tainted y []; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1004.cc: -------------------------------------------------------------------------------- 1 | // * = atomic (int * = int) 2 | int main() { 3 | int * $untainted x; 4 | int $tainted y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1004b.cc: -------------------------------------------------------------------------------- 1 | // * = atomic (int * = int) 2 | int main() { 3 | int $untainted * x; 4 | int $tainted y; 5 | *x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1005.cc: -------------------------------------------------------------------------------- 1 | // * = * 2 | int main() { 3 | int * $untainted x; 4 | int * $tainted y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1005b.cc: -------------------------------------------------------------------------------- 1 | // * = * 2 | int main() { 3 | int * $untainted x; 4 | int $tainted * y; 5 | x = y; // good 6 | x = *y; // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1005c.cc: -------------------------------------------------------------------------------- 1 | // * = * 2 | int main() { 3 | int $untainted * x; 4 | int $tainted * y; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1005d.cc: -------------------------------------------------------------------------------- 1 | // * = * 2 | int main() { 3 | int $untainted * x; 4 | int * $tainted y; 5 | x = y; // good 6 | *x = y; // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1006.cc: -------------------------------------------------------------------------------- 1 | // * = array (int * = int[]) 2 | int main() { 3 | int $untainted *x; 4 | int $tainted y[2]; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1006b.cc: -------------------------------------------------------------------------------- 1 | // * = array (int * = int[]) 2 | int main() { 3 | int * $untainted x; 4 | int y [] $tainted; 5 | x = y; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1008.cc: -------------------------------------------------------------------------------- 1 | // array = atomic 2 | int main() { 3 | int x [] $untainted; 4 | int $tainted z; 5 | x = z; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1009.cc: -------------------------------------------------------------------------------- 1 | // array = * 2 | int main() { 3 | int x [] $untainted; 4 | int * $tainted z; 5 | x = z; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1010.cc: -------------------------------------------------------------------------------- 1 | // array = array 2 | int main() { 3 | int x [] $untainted; 4 | int z [] $tainted; 5 | x = z; // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1011.cc: -------------------------------------------------------------------------------- 1 | // array = func 2 | // write this if meaningful 3 | -------------------------------------------------------------------------------- /oink/Test/t1013.cc: -------------------------------------------------------------------------------- 1 | // func = * (possible?) 2 | typedef int (func1_t)(int); 3 | int main() { 4 | funct1_t $untainted x; 5 | int * $tainted z; 6 | x = z; // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1015.cc: -------------------------------------------------------------------------------- 1 | // func = func 2 | typedef int (funct1_t)(int); 3 | int main() { 4 | funct1_t $untainted *x; 5 | funct1_t $tainted *z; 6 | x = z; // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1220init.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $tainted x; 3 | int $untainted y; 4 | int q = x; 5 | y = q; // bad 6 | q = y; // good 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1223cast.c: -------------------------------------------------------------------------------- 1 | // test that casting works 2 | int main() { 3 | int x; 4 | x = ($tainted int) 3; 5 | int $untainted y; 6 | y = x; // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1300_args.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x, int y, int z); 3 | int main() { 4 | f(1, 2); // bad 5 | f(1, 2, 3); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1301_args.c: -------------------------------------------------------------------------------- 1 | // too many args 2 | int f(int x, int y, int z); 3 | int main() { 4 | f(1, 2, 3, 4); // bad 5 | f(1, 2, 3); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1302_args.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x); 3 | int main() { 4 | f(); // bad 5 | f(1); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1303_args.c: -------------------------------------------------------------------------------- 1 | // too many args 2 | int f(); 3 | int main() { 4 | f(1); // bad 5 | f(); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1310_varargs.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x, int y, int z, ...); 3 | int main() { 4 | f(1, 2); // bad 5 | f(1, 2, 3); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1311_varargs.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x, int y, int z, ...); 3 | int main() { 4 | f(1, 2); // bad 5 | f(1, 2, 3, 4); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1312_varargs.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x, ...); 3 | int main() { 4 | f(); // bad 5 | f(1); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1313_varargs.c: -------------------------------------------------------------------------------- 1 | // too few args 2 | int f(int x, ...); 3 | int main() { 4 | f(); // bad 5 | f(1, 2); // good 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1320_voidarg.c: -------------------------------------------------------------------------------- 1 | // too many args 2 | int f(void); 3 | int main() { 4 | f(); // good 5 | f(1); // bad 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/t1340_const.c: -------------------------------------------------------------------------------- 1 | // test const inference 2 | int main() { 3 | int 4 | const // bad 5 | b = 1; 6 | b = 2; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/t1341_const.c: -------------------------------------------------------------------------------- 1 | // test const inference 2 | int main() { 3 | int a; 4 | int 5 | * 6 | const // bad 7 | b = 0; 8 | b = &a; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/t1342_const.c: -------------------------------------------------------------------------------- 1 | // test const inference 2 | int main() { 3 | int a; 4 | int 5 | const // bad 6 | *b = a; 7 | *b = 3; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/t1343_const.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int 3 | const // bad 4 | *a; 5 | int 6 | $nonconst 7 | *b; 8 | b = a; 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/taint2_a.c: -------------------------------------------------------------------------------- 1 | int return_tainted(); 2 | void want_untainted(int $untainted fmt, ...); 3 | int main() { 4 | int a = return_tainted(); 5 | want_untainted(a); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/taint2_b.c: -------------------------------------------------------------------------------- 1 | int return_tainted() { 2 | int $tainted x; 3 | return x; 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/tb2000fail.c: -------------------------------------------------------------------------------- 1 | // just fail outright 2 | int $tainted $untainted x; 3 | -------------------------------------------------------------------------------- /oink/Test/tb2000fail.c.correct: -------------------------------------------------------------------------------- 1 | // -*-c++-*- 2 | int $tainted $untainted x; 3 | -------------------------------------------------------------------------------- /oink/Test/tb2020cast.c: -------------------------------------------------------------------------------- 1 | // test that casting works 2 | int main() { 3 | int x; 4 | x = ($tainted int) 3; 5 | int $untainted y; 6 | y = x; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/tb2021cast.c: -------------------------------------------------------------------------------- 1 | // test that casting works 2 | int main() { 3 | int x; 4 | x = ($tainted int) 3; 5 | int $untainted y; 6 | y = x; 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/tb2030pointer_assign.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $tainted x; 3 | int *y; 4 | int $untainted z; 5 | *y = x; 6 | z = *y; 7 | // *y = z; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/template_default2.cc: -------------------------------------------------------------------------------- 1 | template 2 | void h(T z = 42) { 3 | } 4 | 5 | int main() { 6 | h(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/template_func8.cc: -------------------------------------------------------------------------------- 1 | template int foo(); 2 | 3 | int main() { 4 | foo(); 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/tertiary_cast_func_ptr.c: -------------------------------------------------------------------------------- 1 | 2 | typedef void (*__sighandler_t) (int); 3 | void die(int sig){} 4 | 5 | int main() 6 | { 7 | 0 ? die : (__sighandler_t) die; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/test1.digraph: -------------------------------------------------------------------------------- 1 | # a comment 2 | 3 | foo 4 | baz 5 | barf 6 | waga 7 | not reached 8 | 9 | 10 | barf 11 | beef 12 | baz 13 | 14 | bork 15 | waga 16 | 17 | 18 | -------------------------------------------------------------------------------- /oink/Test/test1.digraph.cor: -------------------------------------------------------------------------------- 1 | barf 2 | baz 3 | beef 4 | foo 5 | -------------------------------------------------------------------------------- /oink/Test/this_var.i: -------------------------------------------------------------------------------- 1 | // NOTE: this is only legal in C 2 | int main() { 3 | int this; 4 | this; // E_variable 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/tmpimused_bad1.c: -------------------------------------------------------------------------------- 1 | int $!useimmediately *x; 2 | 3 | void f() { 4 | x; // bad because global 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/tmpimused_bad2.c: -------------------------------------------------------------------------------- 1 | struct A { 2 | int $!useimmediately *x; 3 | }; 4 | 5 | void f() { 6 | struct A a; 7 | a.x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/tmpimused_bad3.c: -------------------------------------------------------------------------------- 1 | struct A { 2 | int $!useimmediately *x; 3 | }; 4 | 5 | void f() { 6 | struct A *a; 7 | a->x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/typedef1.c: -------------------------------------------------------------------------------- 1 | // test that qualifiers on typedefs are preserved 2 | 3 | int main() { 4 | typedef int $tainted myint; 5 | myint x; 6 | int $untainted y; 7 | y = x; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/unprototyped1b.c: -------------------------------------------------------------------------------- 1 | char * strcpy(char * d, char * s) 2 | { 3 | char * d0 = d; 4 | while (*s) { *d++ = *s++; } 5 | return d0; 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/unprototyped5b.c: -------------------------------------------------------------------------------- 1 | typedef int (*func_t) (); 2 | int bar(func_t f) { 3 | return f(); 4 | } 5 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol1.c: -------------------------------------------------------------------------------- 1 | // test one-file unsatisfied symbol detection 2 | 3 | void foo(); 4 | 5 | int main() { 6 | foo(); // bad 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol2.c: -------------------------------------------------------------------------------- 1 | // test one-file unsatisfied symbol detection 2 | 3 | void foo(); 4 | 5 | void foo() {} // good 6 | 7 | int main() { 8 | foo(); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3a.c: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | void foo(); 4 | 5 | int main() { 6 | foo(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3b.c: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | void foo() {} 4 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c.c: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | void foo() {} 4 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c.ctl: -------------------------------------------------------------------------------- 1 | # This is an ignore file. 2 | 3 | ignore-body-qual: 4 | file = Test/unsat_symbol3c.c 5 | name = foo 6 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c2.ctl: -------------------------------------------------------------------------------- 1 | # This is an ignore file. 2 | 3 | ignore-body-qual: 4 | file = * 5 | name = foo 6 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c2bar.ctl: -------------------------------------------------------------------------------- 1 | # This is an ignore file. 2 | 3 | ignore-body-qual: 4 | file = * 5 | name = foo 6 | 7 | ignore-body-qual: 8 | file = * 9 | name = bar 10 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c3.ctl: -------------------------------------------------------------------------------- 1 | # This is a control file. 2 | 3 | ignore-body-qual: 4 | file = * 5 | name = foo 6 | visibility = static 7 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3c4.ctl: -------------------------------------------------------------------------------- 1 | # This is a control file. 2 | 3 | weak-def: 4 | file = Test/unsat_symbol3b.c 5 | name = foo 6 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol3d.c: -------------------------------------------------------------------------------- 1 | // test static-ignore 2 | 3 | static void foo() {} 4 | 5 | int main() { 6 | foo(); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol4.cc: -------------------------------------------------------------------------------- 1 | // teset that C++ symbols are reported as fully qualified 2 | 3 | namespace A { 4 | void foo(); 5 | }; 6 | 7 | int main() { 8 | A::foo(); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol5a.cc: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | struct A { 4 | void foo(); 5 | }; 6 | 7 | int main() { 8 | A a; 9 | a.foo(); 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol5b.cc: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | struct A { 4 | void foo(); 5 | }; 6 | 7 | void A::foo() {} 8 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol5c.cc: -------------------------------------------------------------------------------- 1 | // test two-file unsatisfied symbol detection 2 | 3 | struct A { 4 | void foo(); 5 | }; 6 | 7 | void A::foo() {} 8 | -------------------------------------------------------------------------------- /oink/Test/unsat_symbol5c.ctl: -------------------------------------------------------------------------------- 1 | # This is an ignore file. 2 | 3 | ignore-body-qual: 4 | file = Test/unsat_symbol5c.cc 5 | name = A::foo 6 | -------------------------------------------------------------------------------- /oink/Test/usedindataflow1.cc: -------------------------------------------------------------------------------- 1 | 2 | struct S { 3 | int a; 4 | }; 5 | 6 | void foo (void); 7 | -------------------------------------------------------------------------------- /oink/Test/using_alias1b.cc: -------------------------------------------------------------------------------- 1 | namespace N1 { 2 | int identity(int i) { 3 | return i; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/varargs2B.c: -------------------------------------------------------------------------------- 1 | void foo(int a, ... $tainted); 2 | int main(void) { 3 | int x, y; 4 | char *z; 5 | foo(x, y, z); 6 | } 7 | -------------------------------------------------------------------------------- /oink/Test/varargs3C.c: -------------------------------------------------------------------------------- 1 | void sprintf(char $_1_2 * str, ... $_1); 2 | 3 | int main(void) 4 | { 5 | char *y; 6 | char $tainted *x; 7 | 8 | sprintf(y, x); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/varargsA1.c: -------------------------------------------------------------------------------- 1 | int var1(int x, ...); 2 | -------------------------------------------------------------------------------- /oink/Test/varargsB1.c: -------------------------------------------------------------------------------- 1 | void gronk(int $tainted a, ... $tainted); 2 | -------------------------------------------------------------------------------- /oink/Test/varargsC1.c: -------------------------------------------------------------------------------- 1 | int $_1_2 foo(int a, ... $_1 ); 2 | int main() { 3 | int x; 4 | int $tainted y; 5 | int $untainted z; 6 | z = foo(x, y); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/varargsC2.c: -------------------------------------------------------------------------------- 1 | int foo(int a, ... ); 2 | int main() { 3 | int x; 4 | int $tainted y; 5 | int $untainted z; 6 | z = foo(x, y); 7 | } 8 | -------------------------------------------------------------------------------- /oink/Test/varargsD1.c: -------------------------------------------------------------------------------- 1 | int $_1_2 boink(int a, ... $_2); 2 | int main() { 3 | // x should get tainted 4 | int x; 5 | int y; 6 | int $tainted z; 7 | x = boink(1, 2, y, z); 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/verify1_bar.mod: -------------------------------------------------------------------------------- 1 | Test/verify1_bar.c 2 | -------------------------------------------------------------------------------- /oink/Test/verify1_foo.mod: -------------------------------------------------------------------------------- 1 | Test/verify1_foo.c 2 | Test/verify1_foo.h 3 | -------------------------------------------------------------------------------- /oink/Test/void_nonfs1.cc: -------------------------------------------------------------------------------- 1 | // No error is produced from: 2 | void $tainted* cpy; 3 | void $untainted * unt; 4 | 5 | void f() 6 | { 7 | unt = cpy; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/void_nonfs2.cc: -------------------------------------------------------------------------------- 1 | // No error is produced from: 2 | void $tainted* cpy; 3 | char $untainted * unt; 4 | 5 | void f() 6 | { 7 | unt = cpy; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/void_nonfs3.cc: -------------------------------------------------------------------------------- 1 | // No error is produced from: 2 | char $tainted* cpy; 3 | void $untainted * unt; 4 | 5 | void f() 6 | { 7 | unt = cpy; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/void_poly_demo.c: -------------------------------------------------------------------------------- 1 | int main() { 2 | int $tainted *i; 3 | int *i2; 4 | float *f; 5 | float $untainted *f2; 6 | void *v = i; 7 | f2 = v; 8 | } 9 | -------------------------------------------------------------------------------- /oink/Test/void_star_to_double_ptr.i: -------------------------------------------------------------------------------- 1 | struct foo {}; 2 | void f(struct foo **x) {} 3 | int main() { 4 | f( ((void*)0) ); 5 | } 6 | -------------------------------------------------------------------------------- /oink/Test/waga_stack_access.c: -------------------------------------------------------------------------------- 1 | void wow(int *x0) { 2 | *x0; 3 | } 4 | -------------------------------------------------------------------------------- /oink/Test/warn_unsound1.cc: -------------------------------------------------------------------------------- 1 | int Foo() 2 | { 3 | return 42; 4 | } 5 | 6 | int main() 7 | { 8 | return Foo(); 9 | } 10 | -------------------------------------------------------------------------------- /oink/Test/warn_unsound1.ctl: -------------------------------------------------------------------------------- 1 | unsound-if-used: 2 | name = Foo 3 | file = * 4 | -------------------------------------------------------------------------------- /oink/Test/warn_unsound2.cc: -------------------------------------------------------------------------------- 1 | int Foo() 2 | { 3 | return 42; 4 | } 5 | 6 | int Foo(); 7 | 8 | int main() 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /oink/Test/weak1.ctl: -------------------------------------------------------------------------------- 1 | 2 | weak-def: 3 | file = Test/weak1b.cc 4 | name = foo 5 | -------------------------------------------------------------------------------- /oink/Test/weak1a.cc: -------------------------------------------------------------------------------- 1 | int foo() {} 2 | 3 | int main() {} 4 | -------------------------------------------------------------------------------- /oink/Test/weak1b.cc: -------------------------------------------------------------------------------- 1 | int foo() {} 2 | -------------------------------------------------------------------------------- /oink/Test/weak2.ctl: -------------------------------------------------------------------------------- 1 | 2 | weak-def: 3 | archive = Test/weak1b.odir 4 | name = foo 5 | -------------------------------------------------------------------------------- /oink/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # see License.txt for copyright and terms of use 3 | # Taken from elsa/configure by Scott McPeak 4 | 5 | # thunk 6 | 7 | exec perl -wS ./configure.pl ${1+"$@"} 8 | -------------------------------------------------------------------------------- /oink/revcp: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # copy in reverse: useful for accepting the output of regression tests 4 | 5 | cp $2 $1 6 | -------------------------------------------------------------------------------- /platform-model/.gitignore: -------------------------------------------------------------------------------- 1 | # configuration 2 | config.status 3 | -------------------------------------------------------------------------------- /platform-model/README: -------------------------------------------------------------------------------- 1 | doc/README.txt -------------------------------------------------------------------------------- /platform-model/include/glibc-fs: -------------------------------------------------------------------------------- 1 | . -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/Makefile: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | 3 | # delegate to src/Makefile 4 | 5 | all link linkcheck clean: 6 | cd src && $(MAKE) $@ 7 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/_G_config.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/_G_config.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/ar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/ar.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/arpa/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/arpa/ftp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/arpa/ftp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/arpa/telnet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/arpa/telnet.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/arpa/tftp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/arpa/tftp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/a.out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/a.out.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/cmathcalls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/cmathcalls.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/confname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/confname.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/dirent.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/dirent.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/dlfcn.c: -------------------------------------------------------------------------------- 1 | void _dl_mcount_wrapper_check (void *selfpc) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/elfclass.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/elfclass.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/endian.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/endian.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/errno.c: -------------------------------------------------------------------------------- 1 | 2 | int *__errno_location (void) {} 3 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/fcntl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/fcntl.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/fenv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/fenv.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/fenvinline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/fenvinline.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/huge_val.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/huge_val.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/in.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/initspin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/initspin.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/ioctls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/ioctls.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/ipc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/ipc.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/ipctypes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/ipctypes.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/local_lim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/local_lim.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/locale.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/locale.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/mathcalls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/mathcalls.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/mathdef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/mathdef.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/mathinline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/mathinline.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/mman.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/mman.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/msq.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/msq.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/nan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/nan.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/netdb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/netdb.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/poll.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/posix1_lim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/posix1_lim.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/posix2_lim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/posix2_lim.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/posix_opt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/posix_opt.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/resource.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/resource.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/select.c: -------------------------------------------------------------------------------- 1 | // (all inlined macros) 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/sem.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/setjmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/setjmp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/shm.c: -------------------------------------------------------------------------------- 1 | int __getpagesize (void) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sigaction.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/sigaction.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sigcontext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/sigcontext.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/signum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/signum.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sigstack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/sigstack.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sockaddr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/sockaddr.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/stat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/stat.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/statfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/statfs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/statvfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/statvfs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/stdio-lock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/stdio-lock.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/stdio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/stdio_lim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/stdio_lim.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/sys_errlist.c: -------------------------------------------------------------------------------- 1 | int sys_nerr; 2 | int _sys_nerr; 3 | const char *const sys_errlist[1]; 4 | const char *const _sys_errlist[1]; 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/syscall.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/termios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/termios.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/time.c: -------------------------------------------------------------------------------- 1 | long int __sysconf (int x) {} 2 | 3 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/types.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/typesizes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/typesizes.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/uio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/uio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/ustat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/ustat.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/utmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/utmp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/utmpx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/utmpx.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/utsname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/utsname.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/waitflags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/waitflags.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/waitstatus.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/waitstatus.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/wchar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/wchar.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/wordsize.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/wordsize.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/xopen_lim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/xopen_lim.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/bits/xtitypes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/bits/xtitypes.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/byteswap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/byteswap.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/cpio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/cpio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/elf.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/endian.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/endian.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/errno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/errno.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/features.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/features.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/fnmatch.c: -------------------------------------------------------------------------------- 1 | 2 | int fnmatch(const char *pattern, const char *name, int flags) {} 3 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/fpu_control.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/fpu_control.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/gconv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/gconv.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/gnu-versions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/gnu-versions.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/gnu/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/gnu/lib-names.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/gnu/lib-names.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/gnu/stubs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/gnu/stubs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/ieee754.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/ieee754.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/lastlog.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/lastlog.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/libgen.c: -------------------------------------------------------------------------------- 1 | char *dirname (char *path) { return path; } 2 | 3 | char *__xpg_basename (char *path) { return path; } 4 | 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/libio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/libio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/limits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/limits.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/linux/kernel.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void BUILD_BUG(void) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/memory.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/ethernet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/ethernet.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/if_arp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/if_arp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/if_packet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/if_packet.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/if_ppp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/if_ppp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/if_shaper.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/if_shaper.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/if_slip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/if_slip.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/ppp-comp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/ppp-comp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/ppp_defs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/ppp_defs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/net/route.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/net/route.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netash/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netash/ash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netash/ash.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netatalk/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netatalk/at.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netatalk/at.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netax25/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netax25/ax25.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netax25/ax25.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/neteconet/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/neteconet/ec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/neteconet/ec.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/icmp6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/icmp6.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/if_fddi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/if_fddi.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/if_tr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/if_tr.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/igmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/igmp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/ip.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/ip.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/ip6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/ip6.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/ip_icmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/ip_icmp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/tcp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netinet/udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netinet/udp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netipx/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netipx/ipx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netipx/ipx.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netpacket/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netrom/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netrom/netrom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netrom/netrom.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netrose/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/netrose/rose.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/netrose/rose.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/nfs/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/nfs/nfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/nfs/nfs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/nss.c: -------------------------------------------------------------------------------- 1 | int __nss_configure_lookup (const char *dbname, const char *string) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/paths.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/paths.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/poll.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/protocols/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/protocols/rwhod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/protocols/rwhod.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/protocols/talkd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/protocols/talkd.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/protocols/timed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/protocols/timed.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/re_comp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/re_comp.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/rpc/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | cd .. && make 3 | 4 | %: 5 | cd .. && make $(notdir ${PWD})/$* 6 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/rpc/rpc_des.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/rpc/rpc_des.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/rpc/types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/rpc/types.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/rpcsvc/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/rpcsvc/nis_tags.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/rpcsvc/nis_tags.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/scsi/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/scsi/scsi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/scsi/scsi.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/scsi/scsi_ioctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/scsi/scsi_ioctl.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/scsi/sg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/scsi/sg.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/stab.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/stab.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/stdint.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/stdint.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/strings.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/strings.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/Makefile: -------------------------------------------------------------------------------- 1 | ../Makefile -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/acct.c: -------------------------------------------------------------------------------- 1 | int acct (const char *filename) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/bitypes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/bitypes.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/cdefs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/cdefs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/debugreg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/debugreg.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/dir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/dir.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/elf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/elf.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/errno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/errno.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/fcntl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/fcntl.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/file.c: -------------------------------------------------------------------------------- 1 | int flock (int fd, int operation) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/fsuid.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int setfsuid (__uid_t uid) {} 5 | 6 | int setfsgid (__gid_t gid) {} 7 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/gmon_out.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/gmon_out.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/io.c: -------------------------------------------------------------------------------- 1 | int ioperm (unsigned long int from, unsigned long int num, int turn_on) {} 2 | 3 | int iopl (int level) {} 4 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/ipc.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | key_t ftok (const char *pathname, int proj_id) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/kd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/kd.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/kdaemon.c: -------------------------------------------------------------------------------- 1 | int bdflush (int func, long int data) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/klog.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int klogctl (int type, char $tainted *bufp, int len) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/mtio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/mtio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/param.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/param.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/pci.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/perm.c: -------------------------------------------------------------------------------- 1 | //// these are in sys/io.c 2 | // int ioperm (unsigned long int from, unsigned long int num, int turn_on) {} 3 | // int iopl (int level) {} 4 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/personality.c: -------------------------------------------------------------------------------- 1 | int personality (unsigned long int persona) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/poll.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int poll (struct pollfd *fds, nfds_t nfds, int timeout) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/prctl.c: -------------------------------------------------------------------------------- 1 | int prctl (int option, ...) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/procfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/procfs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/queue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/queue.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/quota.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int quotactl (int cmd, const char *special, int id, caddr_t addr) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/raw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/raw.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/reboot.c: -------------------------------------------------------------------------------- 1 | int reboot (int howto) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/reg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/reg.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/signal.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/socketvar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/socketvar.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/soundcard.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/soundcard.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/stropts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/stropts.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/swap.c: -------------------------------------------------------------------------------- 1 | int swapon (const char *path, int flags) {} 2 | 3 | int swapoff (const char *path) {} 4 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/syscall.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/termios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/termios.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/timeb.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int ftime (struct timeb *timebuf) {} 4 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/times.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | clock_t times (struct tms *buffer) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/ttychars.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/ttychars.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/ttydefaults.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/ttydefaults.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/types.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/ucontext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/ucontext.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/ultrasound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/ultrasound.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/un.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/un.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/unistd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/unistd.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/user.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/user.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/vfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/vfs.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/vlimit.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int vlimit (enum __vlimit_resource resource, int value) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/vt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sys/vt.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sys/vtimes.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int vtimes (struct vtimes * current, struct vtimes * child) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/syscall.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/syscall.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/sysexits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/sysexits.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/syslog.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/syslog.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/tar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/tar.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/termio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/termio.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/tgmath.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/tgmath.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/ulimit.c: -------------------------------------------------------------------------------- 1 | long int ulimit (int cmd, ...) {} 2 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/update-elsa-builtins: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cp builtin-declarations.h ~/proj/debfsv/analyzer/elsa/ 4 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/ustat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/ustat.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/utime.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int utime (const char *file, const struct utimbuf *file_times) {} 5 | -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/values.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/values.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/wait.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/src/xlocale.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/platform-model/libc_glibc-2.3.5/src/xlocale.c -------------------------------------------------------------------------------- /platform-model/libc_glibc-2.3.5/upload: -------------------------------------------------------------------------------- 1 | rsync -avP libc.fgcfg libc.oz libc.qz yin:proj/cqual++-stack/platform-model/libc_glibc-2.3.5 2 | -------------------------------------------------------------------------------- /platform-model/libstdc++_gcc-3.4/Makefile: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | 3 | # delegate to src/Makefile 4 | 5 | all link linkcheck clean: 6 | cd src && $(MAKE) $@ 7 | -------------------------------------------------------------------------------- /platform-model/libstdc++_gcc-3.4/include/bits/c++locale_internal.h: -------------------------------------------------------------------------------- 1 | ../../src/config/locale/gnu/c++locale_internal.h -------------------------------------------------------------------------------- /platform-model/libstdc++_gcc-3.4/src/libsupc++/eh_personality.cc: -------------------------------------------------------------------------------- 1 | 2 | // not needed by oink 3 | -------------------------------------------------------------------------------- /platform-model/libstdc++_gcc-3.4/upstream-doc/LAST_UPDATED: -------------------------------------------------------------------------------- 1 | Obtained from CVS: -rgcc_3_4_3_release 2 | -------------------------------------------------------------------------------- /platform-model/make-lib/abspath: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | # $Id$ 4 | 5 | # helper script that prints abspath of argument 6 | 7 | import os, sys 8 | print os.path.abspath(sys.argv[1]) 9 | -------------------------------------------------------------------------------- /platform-model/test/dummy_main.c: -------------------------------------------------------------------------------- 1 | // empty file to check for undefined symbols 2 | 3 | int main() 4 | { 5 | "EXPECT_NO_WARNINGS"; 6 | } 7 | -------------------------------------------------------------------------------- /platform-model/test/stdio/file1_simpl.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | "EXPECT_TAINT_WARNINGS"; 6 | printf(stdin->_IO_read_ptr); 7 | } 8 | -------------------------------------------------------------------------------- /smbase/.gdbinit: -------------------------------------------------------------------------------- 1 | 2 | file srcloc 3 | 4 | break main 5 | break breaker 6 | run 7 | -------------------------------------------------------------------------------- /smbase/License.txt: -------------------------------------------------------------------------------- 1 | All of the modules in the smbase directory are 2 | hereby placed in the public domain. 3 | -------------------------------------------------------------------------------- /smbase/SMBASE.IDE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/smbase/SMBASE.IDE -------------------------------------------------------------------------------- /smbase/configure: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # thunk 3 | 4 | exec perl -wS ./configure.pl ${1+"$@"} 5 | -------------------------------------------------------------------------------- /smbase/smbase.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dsw/oink-stack/12901ab95b3ea60360906b63f6602f060ac3de1f/smbase/smbase.gif -------------------------------------------------------------------------------- /smbase/test.input: -------------------------------------------------------------------------------- 1 |  2 |  !"#$%&'(( --------------------------------------------------------------------------------