./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/busybox-1.22.0/od-1.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/busybox-1.22.0/od-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash eca51e8e3f819f138fdf25d4ecdabbd2673c0fa41933ff35939d527113d330b4 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-12-06 01:14:03,356 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-12-06 01:14:03,414 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf [2024-12-06 01:14:03,418 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-12-06 01:14:03,418 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-12-06 01:14:03,438 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-12-06 01:14:03,439 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-12-06 01:14:03,439 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-12-06 01:14:03,439 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-12-06 01:14:03,440 INFO L153 SettingsManager]: * Use constant arrays=true [2024-12-06 01:14:03,440 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-12-06 01:14:03,441 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:14:03,441 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-12-06 01:14:03,441 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> eca51e8e3f819f138fdf25d4ecdabbd2673c0fa41933ff35939d527113d330b4 [2024-12-06 01:14:03,678 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-12-06 01:14:03,686 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-12-06 01:14:03,688 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-12-06 01:14:03,689 INFO L270 PluginConnector]: Initializing CDTParser... [2024-12-06 01:14:03,690 INFO L274 PluginConnector]: CDTParser initialized [2024-12-06 01:14:03,691 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/../../sv-benchmarks/c/busybox-1.22.0/od-1.i [2024-12-06 01:14:06,351 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/data/fbf645b98/b34e3860949d46659bf98f40c44a41ad/FLAG59b347464 [2024-12-06 01:14:06,724 INFO L384 CDTParser]: Found 1 translation units. [2024-12-06 01:14:06,725 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/sv-benchmarks/c/busybox-1.22.0/od-1.i [2024-12-06 01:14:06,757 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/data/fbf645b98/b34e3860949d46659bf98f40c44a41ad/FLAG59b347464 [2024-12-06 01:14:06,900 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/data/fbf645b98/b34e3860949d46659bf98f40c44a41ad [2024-12-06 01:14:06,902 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-12-06 01:14:06,904 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-12-06 01:14:06,905 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-12-06 01:14:06,905 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-12-06 01:14:06,910 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-12-06 01:14:06,911 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:14:06" (1/1) ... [2024-12-06 01:14:06,912 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1c5ac3f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:06, skipping insertion in model container [2024-12-06 01:14:06,912 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.12 01:14:06" (1/1) ... [2024-12-06 01:14:06,971 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-12-06 01:14:08,744 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:14:08,787 INFO L200 MainTranslator]: Completed pre-run [2024-12-06 01:14:08,987 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-12-06 01:14:09,194 WARN L1212 FunctionHandler]: The following functions are not defined or handled internally: vasprintf [2024-12-06 01:14:09,200 INFO L204 MainTranslator]: Completed translation [2024-12-06 01:14:09,201 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09 WrapperNode [2024-12-06 01:14:09,201 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-12-06 01:14:09,201 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-12-06 01:14:09,201 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-12-06 01:14:09,201 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-12-06 01:14:09,205 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:09,252 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:10,070 INFO L138 Inliner]: procedures = 692, calls = 1911, calls flagged for inlining = 221, calls inlined = 2978, statements flattened = 61873 [2024-12-06 01:14:10,071 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-12-06 01:14:10,072 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-12-06 01:14:10,072 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-12-06 01:14:10,072 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-12-06 01:14:10,080 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:10,081 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:10,456 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:10,456 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,094 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,194 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,467 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,623 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,701 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,850 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-12-06 01:14:11,852 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-12-06 01:14:11,852 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-12-06 01:14:11,852 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-12-06 01:14:11,853 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.12 01:14:09" (1/1) ... [2024-12-06 01:14:11,861 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-12-06 01:14:11,874 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/z3 [2024-12-06 01:14:11,886 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-12-06 01:14:11,888 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9098ad29-1a42-482a-9289-82168167906d/bin/ukojak-verify-CZk0znPC7b/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-12-06 01:14:11,904 INFO L130 BoogieDeclarations]: Found specification of procedure read~real [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~real [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure read~unchecked~int [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-12-06 01:14:11,905 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure read~unchecked~$Pointer$ [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~$Pointer$ [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure read~unchecked~real [2024-12-06 01:14:11,905 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-12-06 01:14:12,417 INFO L234 CfgBuilder]: Building ICFG [2024-12-06 01:14:12,419 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-12-06 01:25:14,004 INFO L? ?]: Removed 54364 outVars from TransFormulas that were not future-live. [2024-12-06 01:25:14,005 INFO L283 CfgBuilder]: Performing block encoding [2024-12-06 01:26:32,764 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-12-06 01:26:32,764 INFO L312 CfgBuilder]: Removed 1333 assume(true) statements. [2024-12-06 01:26:32,765 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:26:32 BoogieIcfgContainer [2024-12-06 01:26:32,765 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-12-06 01:26:32,768 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-12-06 01:26:32,768 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-12-06 01:26:32,790 INFO L274 PluginConnector]: CodeCheck initialized [2024-12-06 01:26:32,790 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.12 01:26:32" (1/1) ... [2024-12-06 01:26:32,804 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-12-06 01:26:33,182 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:26:33,259 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39549 states to 34191 states and 39549 transitions. [2024-12-06 01:26:33,259 INFO L276 IsEmpty]: Start isEmpty. Operand 34191 states and 39549 transitions. [2024-12-06 01:26:33,262 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-12-06 01:26:33,262 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:26:33,263 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-12-06 01:27:06,873 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-12-06 01:27:08,350 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-12-06 01:27:18,592 WARN L539 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 10.15s for a HTC check with result UNKNOWN. Formula has sorts [Array, Bool, Real, Int], hasArrays=true, hasNonlinArith=false, quantifiers [] [2024-12-06 01:27:19,547 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-12-06 01:27:19,576 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39548 states to 34190 states and 39548 transitions. [2024-12-06 01:27:19,576 INFO L276 IsEmpty]: Start isEmpty. Operand 34190 states and 39548 transitions. [2024-12-06 01:27:19,577 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2024-12-06 01:27:19,577 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-12-06 01:27:19,577 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms