The Daikon Invariant Detector User Manual_ 8. Tools for use with Daikon

The Daikon Invariant Detector User Manual_ 8. Tools for use with Daikon

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
[ < ] [ > ] [ << ] [ Up ] [ >> ] [ Top ] [ Contents ] [ Index ] [ ? ] 8. Tools for use with Daikon This chapter describes various tools that are included with the Daikon distribution. 8.1 Tools for manipulating invariants 8.2 DtraceDiff utility [ < ] [ > << ] [ ] [ >> ] [ Contents ] [ Index ] [ ? ] 8.1 Tools for manipulating invariants This section gives information about tools that manipulate invariants (in the form of ‘ .inv ’ files). 8.1.1 Printing invariants 8.1.2 MergeInvariants 8.1.3 Invariant Diff 8.1.4 Annotate 8.1.5 AnnotateNullable 8.1.6 Runtime-check instrumenter (runtimechecker) 8.1.7 InvariantChecker 8.1.8 LogicalCompare [ < ] [ > << ] [ ] [ >> ] [ Contents ] [ Index ] [ ? ] 8.1.1 Printing invariants Daikon provides many options for controlling how invariants are printed. Often, you may want to print the same set of invariants several different ways. However, you only want to run Daikon once, since it may be very time consuming. The PrintInvariants utility prints a set of invariants from a ‘ .inv ’ file. PrintInvariants is invoked as follows: java daikon.PrintInvariants [flags] inv-file PrintInvariants shares many flags with Daikon. These flags are only briefly summarized here. For more information about these flags, see Daikon configuration options . --help Print usage message. --format name Produce output in the given format. See Invariant syntax . The Daikon Invariant Detector User Manual: 8. Tools for use with Daikon file:///C:/Users/tyalanf/AppData/Local/Temp/Temp1_daikon.zip/daikon/d. .. 2/24/2012 12:16 PM You created this PDF from an application that is not licensed to print to novaPDF printer ( http://www.novapdf.com )
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
--output_num_samples Output numbers of values and samples for invariants and program points; for debugging. --ppt-select-pattern Only outputs program points that match the specified regular expression --config filename Load the configuration settings specified in the given file. See section Configuration options , for details. --config_option name = value Specify a single configuration setting. See section Configuration options , for details. --dbg category --debug Enable debug loggers. --track class < var1 , var2 , var3 >@ ppt Track information on specified invariant class, variables and program point. For more information, also see (./developer)Track logging section `Track logging' in Daikon Developer Manual . [ < ] [ > ] [ << ] [ Up ] [ >> ] [ Top ] [ Contents ] [ Index ] [ ? ] 8.1.2 MergeInvariants The MergeInvariants utility merges multiple serialized invariant files to create a single serialized invariant file that contains the invariants that are true across each of the input files. The results of merging N serialized invariant files should be the same as running Daikon on the N original dtrace files. MergeInvariants is invoked as follows: java daikon.MergeInvariants [flags]. .. file1 file2 ... file1 and file2 are files containing serialized invariants produced by running Daikon. At least two invariant files must be specified.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/24/2012 for the course CSE 503 taught by Professor Davidnotikin during the Spring '11 term at University of Washington.

Page1 / 14

The Daikon Invariant Detector User Manual_ 8. Tools for use with Daikon

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online