./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/busybox-1.22.0/ls-incomplete-2.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/busybox-1.22.0/ls-incomplete-2.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi --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 d1800e6a7093aef170e24bf50f0eb7e2646af9a10c241229886d0a1c02e7e0dd --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:59:39,492 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:59:39,608 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/config/svcomp-DerefFreeMemtrack-64bit-Kojak_Default.epf [2023-11-24 22:59:39,615 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:59:39,616 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-24 22:59:39,653 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:59:39,655 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:59:39,656 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:59:39,657 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:59:39,662 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:59:39,663 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:59:39,663 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 22:59:39,664 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 22:59:39,666 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 22:59:39,666 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:59:39,667 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:59:39,667 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:59:39,667 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-24 22:59:39,668 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-24 22:59:39,668 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-24 22:59:39,669 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:59:39,670 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:59:39,670 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:59:39,671 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:59:39,671 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-24 22:59:39,672 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:59:39,672 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi 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 -> d1800e6a7093aef170e24bf50f0eb7e2646af9a10c241229886d0a1c02e7e0dd [2023-11-24 22:59:39,978 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:59:40,011 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:59:40,014 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:59:40,016 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:59:40,017 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:59:40,019 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/../../sv-benchmarks/c/busybox-1.22.0/ls-incomplete-2.i [2023-11-24 22:59:43,175 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:59:43,707 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:59:43,709 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/sv-benchmarks/c/busybox-1.22.0/ls-incomplete-2.i [2023-11-24 22:59:43,747 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/data/8f1457902/ab90230f4eed411381d7ea4ba2464bfa/FLAG14b8f87f3 [2023-11-24 22:59:43,765 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/data/8f1457902/ab90230f4eed411381d7ea4ba2464bfa [2023-11-24 22:59:43,767 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:59:43,769 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:59:43,772 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:59:43,773 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:59:43,778 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:59:43,779 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:59:43" (1/1) ... [2023-11-24 22:59:43,780 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4ae02004 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:43, skipping insertion in model container [2023-11-24 22:59:43,781 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:59:43" (1/1) ... [2023-11-24 22:59:43,917 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:59:46,520 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:59:46,572 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:59:46,952 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:59:47,283 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,285 WARN L675 CHandler]: The function x2x_utoa is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,285 WARN L675 CHandler]: The function sprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,285 WARN L675 CHandler]: The function strerror is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,285 WARN L675 CHandler]: The function strncmp is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,285 WARN L675 CHandler]: The function strstr is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,286 WARN L675 CHandler]: The function strrchr is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,286 WARN L675 CHandler]: The function putchar is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,286 WARN L675 CHandler]: The function strncpy is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,286 WARN L675 CHandler]: The function fputs is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,287 WARN L675 CHandler]: The function strtoul is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,287 WARN L675 CHandler]: The function ctime is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,287 WARN L675 CHandler]: The function time is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:59:47,295 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:59:47,296 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47 WrapperNode [2023-11-24 22:59:47,296 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:59:47,297 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:59:47,298 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:59:47,298 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:59:47,306 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:47,429 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:48,531 INFO L138 Inliner]: procedures = 743, calls = 1285, calls flagged for inlining = 176, calls inlined = 1675, statements flattened = 43783 [2023-11-24 22:59:48,531 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:59:48,532 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:59:48,532 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:59:48,532 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:59:48,558 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:48,558 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:48,987 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:48,988 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,064 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,403 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,522 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,622 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,887 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:59:50,889 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:59:50,889 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:59:50,889 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:59:50,891 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:59:47" (1/1) ... [2023-11-24 22:59:50,897 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-24 22:59:50,923 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/z3 [2023-11-24 22:59:50,964 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-24 22:59:51,046 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_def776a2-53ec-453e-936e-e5a54f880bb7/bin/ukojak-verify-afCqCEvfdi/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-24 22:59:51,125 INFO L130 BoogieDeclarations]: Found specification of procedure strncmp [2023-11-24 22:59:51,125 INFO L130 BoogieDeclarations]: Found specification of procedure putchar [2023-11-24 22:59:51,126 INFO L130 BoogieDeclarations]: Found specification of procedure ctime [2023-11-24 22:59:51,126 INFO L130 BoogieDeclarations]: Found specification of procedure sprintf [2023-11-24 22:59:51,126 INFO L130 BoogieDeclarations]: Found specification of procedure strerror [2023-11-24 22:59:51,127 INFO L130 BoogieDeclarations]: Found specification of procedure strstr [2023-11-24 22:59:51,127 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:59:51,127 INFO L130 BoogieDeclarations]: Found specification of procedure read~unchecked~int [2023-11-24 22:59:51,127 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2023-11-24 22:59:51,127 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-24 22:59:51,128 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-24 22:59:51,128 INFO L130 BoogieDeclarations]: Found specification of procedure fputs [2023-11-24 22:59:51,128 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-24 22:59:51,128 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:59:51,128 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-24 22:59:51,129 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:59:51,129 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:59:51,131 INFO L130 BoogieDeclarations]: Found specification of procedure read~unchecked~$Pointer$ [2023-11-24 22:59:51,131 INFO L130 BoogieDeclarations]: Found specification of procedure write~unchecked~$Pointer$ [2023-11-24 22:59:51,135 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:59:51,135 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-24 22:59:51,135 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2023-11-24 22:59:51,135 INFO L130 BoogieDeclarations]: Found specification of procedure scan_and_display_dirs_recur [2023-11-24 22:59:51,135 INFO L138 BoogieDeclarations]: Found implementation of procedure scan_and_display_dirs_recur [2023-11-24 22:59:51,136 INFO L130 BoogieDeclarations]: Found specification of procedure time [2023-11-24 22:59:51,136 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-24 22:59:51,136 INFO L130 BoogieDeclarations]: Found specification of procedure strrchr [2023-11-24 22:59:51,137 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2023-11-24 22:59:51,137 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-24 22:59:51,137 INFO L130 BoogieDeclarations]: Found specification of procedure strncpy [2023-11-24 22:59:52,463 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:59:52,466 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation