./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version eb692b52 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --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 Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash d224ebcb07fcde02a04b3f693ddbc7636cebe8e81bd90ae54b6353a489767531 --- Real Ultimate output --- This is Ultimate 0.2.2-?-eb692b5 [2022-07-20 12:44:36,405 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-20 12:44:36,406 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-20 12:44:36,436 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-20 12:44:36,437 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-20 12:44:36,439 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-20 12:44:36,443 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-20 12:44:36,446 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-20 12:44:36,447 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-20 12:44:36,452 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-20 12:44:36,453 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-20 12:44:36,455 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-20 12:44:36,456 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-20 12:44:36,457 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-20 12:44:36,459 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-20 12:44:36,478 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-20 12:44:36,479 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-20 12:44:36,480 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-20 12:44:36,483 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-20 12:44:36,486 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-20 12:44:36,488 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-20 12:44:36,489 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-20 12:44:36,490 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-20 12:44:36,491 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-20 12:44:36,492 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-20 12:44:36,500 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-20 12:44:36,500 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-20 12:44:36,501 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-20 12:44:36,502 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-20 12:44:36,502 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-20 12:44:36,513 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-20 12:44:36,514 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-20 12:44:36,515 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-20 12:44:36,516 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-20 12:44:36,516 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-20 12:44:36,517 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-20 12:44:36,517 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-20 12:44:36,519 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-20 12:44:36,519 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-20 12:44:36,519 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-20 12:44:36,520 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-20 12:44:36,522 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-20 12:44:36,522 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-64bit-Automizer_Default.epf [2022-07-20 12:44:36,559 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-20 12:44:36,559 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-20 12:44:36,559 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-20 12:44:36,560 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-20 12:44:36,560 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-20 12:44:36,561 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-20 12:44:36,561 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-20 12:44:36,561 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-20 12:44:36,561 INFO L138 SettingsManager]: * Use SBE=true [2022-07-20 12:44:36,562 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-20 12:44:36,562 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-20 12:44:36,562 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-20 12:44:36,562 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-20 12:44:36,563 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-20 12:44:36,563 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-20 12:44:36,563 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-20 12:44:36,563 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-20 12:44:36,563 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-20 12:44:36,564 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-20 12:44:36,564 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-20 12:44:36,564 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-20 12:44:36,564 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-20 12:44:36,564 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-20 12:44:36,565 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-20 12:44:36,565 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-20 12:44:36,565 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-20 12:44:36,565 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-07-20 12:44:36,565 INFO L138 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:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> Automizer 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 -> d224ebcb07fcde02a04b3f693ddbc7636cebe8e81bd90ae54b6353a489767531 [2022-07-20 12:44:36,781 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-20 12:44:36,803 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-20 12:44:36,806 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-20 12:44:36,808 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-20 12:44:36,809 INFO L275 PluginConnector]: CDTParser initialized [2022-07-20 12:44:36,811 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i [2022-07-20 12:44:36,888 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f28cbeca1/8d8896df94464645b792e2c20bfa8cd9/FLAG750f1c442 [2022-07-20 12:44:37,651 INFO L306 CDTParser]: Found 1 translation units. [2022-07-20 12:44:37,652 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i [2022-07-20 12:44:37,691 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f28cbeca1/8d8896df94464645b792e2c20bfa8cd9/FLAG750f1c442 [2022-07-20 12:44:37,892 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f28cbeca1/8d8896df94464645b792e2c20bfa8cd9 [2022-07-20 12:44:37,895 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-20 12:44:37,897 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-20 12:44:37,899 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-20 12:44:37,900 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-20 12:44:37,903 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-20 12:44:37,904 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:37" (1/1) ... [2022-07-20 12:44:37,905 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a25945b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.07 12:44:37, skipping insertion in model container [2022-07-20 12:44:37,905 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:37" (1/1) ... [2022-07-20 12:44:37,911 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-20 12:44:38,029 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-20 12:44:40,006 WARN L611 FunctionHandler]: implicit declaration of function __builtin_memset [2022-07-20 12:44:40,938 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.IllegalArgumentException: cannot determine size of incomplete type at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.computeSize(TypeSizeAndOffsetComputer.java:203) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructBytesizeExpression(TypeSizeAndOffsetComputer.java:121) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.checkIfNecessaryMemoryModelAdaption(CHandler.java:1021) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:968) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:279) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2412) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleReturnStatement(FunctionHandler.java:540) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2039) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:193) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1081) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:232) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:371) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1470) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:155) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3276) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2361) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:601) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:134) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:192) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:93) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2022-07-20 12:44:40,943 INFO L158 Benchmark]: Toolchain (without parser) took 3044.97ms. Allocated memory is still 121.6MB. Free memory was 85.8MB in the beginning and 38.4MB in the end (delta: 47.4MB). Peak memory consumption was 48.2MB. Max. memory is 16.1GB. [2022-07-20 12:44:40,943 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 79.7MB. Free memory was 51.0MB in the beginning and 50.9MB in the end (delta: 42.0kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-20 12:44:40,944 INFO L158 Benchmark]: CACSL2BoogieTranslator took 3041.58ms. Allocated memory is still 121.6MB. Free memory was 85.5MB in the beginning and 38.4MB in the end (delta: 47.1MB). Peak memory consumption was 46.1MB. Max. memory is 16.1GB. [2022-07-20 12:44:40,947 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29ms. Allocated memory is still 79.7MB. Free memory was 51.0MB in the beginning and 50.9MB in the end (delta: 42.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 3041.58ms. Allocated memory is still 121.6MB. Free memory was 85.5MB in the beginning and 38.4MB in the end (delta: 47.1MB). Peak memory consumption was 46.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: IllegalArgumentException: cannot determine size of incomplete type: de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-64bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --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 Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash d224ebcb07fcde02a04b3f693ddbc7636cebe8e81bd90ae54b6353a489767531 --- Real Ultimate output --- This is Ultimate 0.2.2-?-eb692b5 [2022-07-20 12:44:42,724 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-20 12:44:42,727 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-20 12:44:42,763 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-20 12:44:42,764 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-20 12:44:42,765 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-20 12:44:42,769 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-20 12:44:42,772 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-20 12:44:42,774 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-20 12:44:42,778 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-20 12:44:42,779 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-20 12:44:42,783 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-20 12:44:42,784 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-20 12:44:42,786 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-20 12:44:42,787 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-20 12:44:42,790 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-20 12:44:42,790 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-20 12:44:42,792 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-20 12:44:42,793 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-20 12:44:42,798 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-20 12:44:42,800 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-20 12:44:42,801 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-20 12:44:42,802 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-20 12:44:42,803 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-20 12:44:42,805 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-20 12:44:42,811 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-20 12:44:42,811 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-20 12:44:42,812 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-20 12:44:42,813 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-20 12:44:42,813 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-20 12:44:42,814 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-20 12:44:42,814 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-20 12:44:42,816 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-20 12:44:42,816 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-20 12:44:42,818 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-20 12:44:42,818 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-20 12:44:42,819 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-20 12:44:42,819 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-20 12:44:42,819 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-20 12:44:42,820 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-20 12:44:42,820 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-20 12:44:42,822 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-20 12:44:42,827 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-64bit-Automizer_Bitvector.epf [2022-07-20 12:44:42,868 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-20 12:44:42,869 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-20 12:44:42,869 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-20 12:44:42,870 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-20 12:44:42,870 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-20 12:44:42,871 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-20 12:44:42,872 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-20 12:44:42,872 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-20 12:44:42,872 INFO L138 SettingsManager]: * Use SBE=true [2022-07-20 12:44:42,873 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-20 12:44:42,873 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-20 12:44:42,873 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-20 12:44:42,874 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-20 12:44:42,874 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-20 12:44:42,874 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-20 12:44:42,874 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-20 12:44:42,875 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-20 12:44:42,875 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-20 12:44:42,875 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-07-20 12:44:42,875 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-07-20 12:44:42,876 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-20 12:44:42,876 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-20 12:44:42,876 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-20 12:44:42,876 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-20 12:44:42,876 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-20 12:44:42,877 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-20 12:44:42,877 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-20 12:44:42,877 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-07-20 12:44:42,877 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-07-20 12:44:42,878 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-07-20 12:44:42,878 INFO L138 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> Automizer 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 -> d224ebcb07fcde02a04b3f693ddbc7636cebe8e81bd90ae54b6353a489767531 [2022-07-20 12:44:43,190 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-20 12:44:43,208 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-20 12:44:43,211 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-20 12:44:43,212 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-20 12:44:43,213 INFO L275 PluginConnector]: CDTParser initialized [2022-07-20 12:44:43,214 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i [2022-07-20 12:44:43,276 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c5f9d6a9e/5c4e8af3abf84bc3a4aef392f46b06e7/FLAG20069aa45 [2022-07-20 12:44:44,030 INFO L306 CDTParser]: Found 1 translation units. [2022-07-20 12:44:44,031 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref1.i [2022-07-20 12:44:44,076 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c5f9d6a9e/5c4e8af3abf84bc3a4aef392f46b06e7/FLAG20069aa45 [2022-07-20 12:44:44,285 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c5f9d6a9e/5c4e8af3abf84bc3a4aef392f46b06e7 [2022-07-20 12:44:44,287 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-20 12:44:44,289 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-20 12:44:44,291 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-20 12:44:44,291 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-20 12:44:44,294 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-20 12:44:44,295 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:44" (1/1) ... [2022-07-20 12:44:44,296 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7ae15303 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.07 12:44:44, skipping insertion in model container [2022-07-20 12:44:44,296 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:44" (1/1) ... [2022-07-20 12:44:44,302 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-20 12:44:44,420 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-20 12:44:45,650 WARN L611 FunctionHandler]: implicit declaration of function __builtin_memset [2022-07-20 12:44:46,242 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator has thrown an exception: java.lang.IllegalArgumentException: cannot determine size of incomplete type at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.computeSize(TypeSizeAndOffsetComputer.java:203) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructBytesizeExpression(TypeSizeAndOffsetComputer.java:121) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.checkIfNecessaryMemoryModelAdaption(CHandler.java:1021) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:968) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:279) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2412) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:303) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleReturnStatement(FunctionHandler.java:540) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2039) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:193) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1081) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:232) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.FunctionHandler.handleFunctionDefinition(FunctionHandler.java:371) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:1470) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:155) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.processTUchild(CHandler.java:3276) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:2361) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.CHandler.visit(CHandler.java:601) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.PRDispatcher.dispatch(PRDispatcher.java:134) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.translate(MainTranslator.java:192) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.run(MainTranslator.java:115) at de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.MainTranslator.(MainTranslator.java:93) at de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver.finish(CACSL2BoogieTranslatorObserver.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2022-07-20 12:44:46,248 INFO L158 Benchmark]: Toolchain (without parser) took 1958.06ms. Allocated memory was 56.6MB in the beginning and 81.8MB in the end (delta: 25.2MB). Free memory was 34.9MB in the beginning and 51.2MB in the end (delta: -16.3MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. [2022-07-20 12:44:46,248 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 56.6MB. Free memory was 37.8MB in the beginning and 37.7MB in the end (delta: 47.5kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-20 12:44:46,249 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1954.74ms. Allocated memory was 56.6MB in the beginning and 81.8MB in the end (delta: 25.2MB). Free memory was 34.8MB in the beginning and 51.2MB in the end (delta: -16.5MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. [2022-07-20 12:44:46,250 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21ms. Allocated memory is still 56.6MB. Free memory was 37.8MB in the beginning and 37.7MB in the end (delta: 47.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1954.74ms. Allocated memory was 56.6MB in the beginning and 81.8MB in the end (delta: 25.2MB). Free memory was 34.8MB in the beginning and 51.2MB in the end (delta: -16.5MB). Peak memory consumption was 24.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: IllegalArgumentException: cannot determine size of incomplete type: de.uni_freiburg.informatik.ultimate.cdt.translation.implementation.base.chandler.TypeSizeAndOffsetComputer.constructSizeTValueAndOffsets_StructAndUnion(TypeSizeAndOffsetComputer.java:256) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: IllegalArgumentException: cannot determine size of incomplete type