[< ] [> ] [<< ] [Up ] [>> ] [Top] [Contents] [Index] [? ]4. Running DaikonThis section describes how to run Daikon on a data trace (‘.dtrace’) file, and describes Daikon'scommand-line options. This section assumes you have already run a front end (e.g., an instrumenter) toproduce a ‘.dtrace’ file (and optionally ‘.decl’ and ‘.spinfo’ files); to learn more about that process, seesection Example usage for Java, C/C++, Perl, and Eiffel, and see section Front ends (instrumentation).Run the Daikon invariant detector via the commandjava daikon.Daikon [flags]dtrace-files...[decl-files...][spinfo-files...]The dtrace-filesare data trace (‘.dtrace’) files containing variable values from an execution of thetarget program.The decl-filesare declaration (‘.decl’) files containing program point declarations. Be sure to includeall declaration files that are needed for the particular data trace file; the simplest way is to includeevery declaration file created when instrumenting the program.Not all Daikon front ends produce ‘.decl’ files, since program point declarations may also appear in‘.dtrace’ files. For instance, the Chicory front end for Java (see section Java front end Chicory)produces only ‘.dtrace’ files. If there are no ‘.decl’ files, then it is not necessary to include them onthe command line to Daikon.The spinfo-filesare splitter info (‘.spinfo’) files that enable detection of conditional invariants (seesection Conditional invariants and implications); these are optional and may be created automatically orby hand.The files may appear in any order; the file type is determined by whether the file name contains ‘.decls’,‘.dtrace’, or ‘.spinfo’. As a special case, a file name of ‘-’ means to read data trace information fromstandard input.The optional flags are described in the sections that follow. For further ways to control Daikon's behavior viaconfiguration options, see Configuration options, and see the list of options to the front end such as Chicory(see section Chicory options) or Kvasir (see section Kvasir options).4.1 Options to control Daikon output4.2 Options to control invariant detection 4.3 Processing only part of the trace file4.4 Daikon configuration options4.5 Daikon debugging options[< ] [> ] [<< ] [Up ] [>> ] [Top] [Contents] [Index] [? ]4.1 Options to control Daikon output‘--help’The Daikon Invariant Detector User Manual: 4. Running Daikonfile:///C:/Users/tyalanf/AppData/Local/Temp/Temp1_daikon.zip/daikon/d...1 of 62/24/2012 12:16 PMYou created this PDF from an application that is not licensed to print to novaPDF printer (http://www.novapdf.com)
has intentionally blurred sections.
Sign up to view the full version.