./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref2.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-deref2.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 bd64539a144241395781f7472407ffb31c1f73f6ab9206d20864b184ab12c36f --- Real Ultimate output --- This is Ultimate 0.2.2-?-eb692b5 [2022-07-20 12:44:36,188 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-20 12:44:36,190 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-20 12:44:36,225 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-20 12:44:36,225 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-20 12:44:36,226 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-20 12:44:36,227 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-20 12:44:36,229 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-20 12:44:36,230 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-20 12:44:36,233 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-20 12:44:36,234 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-20 12:44:36,236 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-20 12:44:36,236 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-20 12:44:36,237 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-20 12:44:36,238 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-20 12:44:36,240 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-20 12:44:36,241 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-20 12:44:36,242 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-20 12:44:36,243 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-20 12:44:36,247 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-20 12:44:36,248 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-20 12:44:36,249 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-20 12:44:36,250 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-20 12:44:36,250 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-20 12:44:36,252 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-20 12:44:36,257 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-20 12:44:36,258 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-20 12:44:36,258 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-20 12:44:36,259 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-20 12:44:36,259 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-20 12:44:36,260 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-20 12:44:36,260 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-20 12:44:36,262 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-20 12:44:36,262 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-20 12:44:36,263 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-20 12:44:36,263 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-20 12:44:36,264 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-20 12:44:36,264 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-20 12:44:36,264 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-20 12:44:36,264 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-20 12:44:36,265 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-20 12:44:36,266 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-20 12:44:36,267 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,288 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-20 12:44:36,289 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-20 12:44:36,289 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-20 12:44:36,289 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-20 12:44:36,290 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-20 12:44:36,290 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-20 12:44:36,290 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-20 12:44:36,290 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-20 12:44:36,290 INFO L138 SettingsManager]: * Use SBE=true [2022-07-20 12:44:36,291 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-20 12:44:36,291 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-20 12:44:36,291 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-20 12:44:36,291 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-20 12:44:36,292 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-20 12:44:36,292 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-20 12:44:36,293 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-20 12:44:36,293 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-07-20 12:44:36,294 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 -> bd64539a144241395781f7472407ffb31c1f73f6ab9206d20864b184ab12c36f [2022-07-20 12:44:36,512 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-20 12:44:36,531 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-20 12:44:36,533 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-20 12:44:36,534 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-20 12:44:36,534 INFO L275 PluginConnector]: CDTParser initialized [2022-07-20 12:44:36,535 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-deref2.i [2022-07-20 12:44:36,592 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c13584102/35946bcfdbab4b828d9b513bdd9227f6/FLAG3d461cbf8 [2022-07-20 12:44:37,242 INFO L306 CDTParser]: Found 1 translation units. [2022-07-20 12:44:37,243 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref2.i [2022-07-20 12:44:37,273 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c13584102/35946bcfdbab4b828d9b513bdd9227f6/FLAG3d461cbf8 [2022-07-20 12:44:37,643 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c13584102/35946bcfdbab4b828d9b513bdd9227f6 [2022-07-20 12:44:37,645 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-20 12:44:37,647 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-20 12:44:37,647 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-20 12:44:37,648 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-20 12:44:37,650 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-20 12:44:37,650 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,651 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@558c390 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,651 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,657 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-20 12:44:37,735 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-20 12:44:38,979 WARN L611 FunctionHandler]: implicit declaration of function __builtin_memset [2022-07-20 12:44:39,619 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:39,623 INFO L158 Benchmark]: Toolchain (without parser) took 1975.85ms. Allocated memory is still 127.9MB. Free memory was 99.6MB in the beginning and 52.9MB in the end (delta: 46.7MB). Peak memory consumption was 48.2MB. Max. memory is 16.1GB. [2022-07-20 12:44:39,624 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 90.2MB. Free memory is still 68.4MB. There was no memory consumed. Max. memory is 16.1GB. [2022-07-20 12:44:39,624 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1974.29ms. Allocated memory is still 127.9MB. Free memory was 99.1MB in the beginning and 52.9MB in the end (delta: 46.1MB). Peak memory consumption was 46.1MB. Max. memory is 16.1GB. [2022-07-20 12:44:39,625 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.17ms. Allocated memory is still 90.2MB. Free memory is still 68.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1974.29ms. Allocated memory is still 127.9MB. Free memory was 99.1MB in the beginning and 52.9MB in the end (delta: 46.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-deref2.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 bd64539a144241395781f7472407ffb31c1f73f6ab9206d20864b184ab12c36f --- Real Ultimate output --- This is Ultimate 0.2.2-?-eb692b5 [2022-07-20 12:44:41,048 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-20 12:44:41,049 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-20 12:44:41,081 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-20 12:44:41,082 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-20 12:44:41,083 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-20 12:44:41,084 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-20 12:44:41,087 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-20 12:44:41,089 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-20 12:44:41,090 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-20 12:44:41,091 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-20 12:44:41,092 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-20 12:44:41,093 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-20 12:44:41,095 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-20 12:44:41,097 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-20 12:44:41,098 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-20 12:44:41,099 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-20 12:44:41,102 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-20 12:44:41,104 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-20 12:44:41,108 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-20 12:44:41,111 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-20 12:44:41,112 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-20 12:44:41,112 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-20 12:44:41,113 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-20 12:44:41,114 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-20 12:44:41,122 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-20 12:44:41,125 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-20 12:44:41,125 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-20 12:44:41,126 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-20 12:44:41,127 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-20 12:44:41,127 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-20 12:44:41,127 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-20 12:44:41,128 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-20 12:44:41,129 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-20 12:44:41,130 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-20 12:44:41,131 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-20 12:44:41,131 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-20 12:44:41,132 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-20 12:44:41,132 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-20 12:44:41,132 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-20 12:44:41,133 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-20 12:44:41,137 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-20 12:44:41,138 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:41,163 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-20 12:44:41,163 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-20 12:44:41,163 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-20 12:44:41,164 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-20 12:44:41,164 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-20 12:44:41,164 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-20 12:44:41,165 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-20 12:44:41,165 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-20 12:44:41,165 INFO L138 SettingsManager]: * Use SBE=true [2022-07-20 12:44:41,166 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-20 12:44:41,166 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-20 12:44:41,166 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-20 12:44:41,167 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-20 12:44:41,168 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-07-20 12:44:41,168 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-07-20 12:44:41,168 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-20 12:44:41,168 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-20 12:44:41,169 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-20 12:44:41,169 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-20 12:44:41,169 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-20 12:44:41,169 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-20 12:44:41,169 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-20 12:44:41,169 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-07-20 12:44:41,170 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-07-20 12:44:41,170 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-07-20 12:44:41,170 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 -> bd64539a144241395781f7472407ffb31c1f73f6ab9206d20864b184ab12c36f [2022-07-20 12:44:41,423 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-20 12:44:41,445 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-20 12:44:41,447 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-20 12:44:41,448 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-20 12:44:41,450 INFO L275 PluginConnector]: CDTParser initialized [2022-07-20 12:44:41,451 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-deref2.i [2022-07-20 12:44:41,495 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b868910dc/d61b419e7af84bf18234e3bbcd9c94e4/FLAG427066f73 [2022-07-20 12:44:42,154 INFO L306 CDTParser]: Found 1 translation units. [2022-07-20 12:44:42,155 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/openbsd-6.2/if_etherip-fixed-double-free-invalid-deref2.i [2022-07-20 12:44:42,189 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b868910dc/d61b419e7af84bf18234e3bbcd9c94e4/FLAG427066f73 [2022-07-20 12:44:42,269 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b868910dc/d61b419e7af84bf18234e3bbcd9c94e4 [2022-07-20 12:44:42,271 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-20 12:44:42,273 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-20 12:44:42,274 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-20 12:44:42,274 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-20 12:44:42,278 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-20 12:44:42,278 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:42" (1/1) ... [2022-07-20 12:44:42,279 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2e5b189c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.07 12:44:42, skipping insertion in model container [2022-07-20 12:44:42,279 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.07 12:44:42" (1/1) ... [2022-07-20 12:44:42,284 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-20 12:44:42,376 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-20 12:44:43,416 WARN L611 FunctionHandler]: implicit declaration of function __builtin_memset [2022-07-20 12:44:43,828 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:43,834 INFO L158 Benchmark]: Toolchain (without parser) took 1560.17ms. Allocated memory was 54.5MB in the beginning and 77.6MB in the end (delta: 23.1MB). Free memory was 33.8MB in the beginning and 47.7MB in the end (delta: -13.9MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. [2022-07-20 12:44:43,835 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 54.5MB. Free memory was 36.3MB in the beginning and 36.3MB in the end (delta: 43.8kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-20 12:44:43,836 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1558.10ms. Allocated memory was 54.5MB in the beginning and 77.6MB in the end (delta: 23.1MB). Free memory was 33.6MB in the beginning and 47.7MB in the end (delta: -14.1MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. [2022-07-20 12:44:43,837 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.15ms. Allocated memory is still 54.5MB. Free memory was 36.3MB in the beginning and 36.3MB in the end (delta: 43.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1558.10ms. Allocated memory was 54.5MB in the beginning and 77.6MB in the end (delta: 23.1MB). Free memory was 33.6MB in the beginning and 47.7MB in the end (delta: -14.1MB). Peak memory consumption was 26.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