./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/unreach-call.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 84cfde4a Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 926c219674f55200b40d9809e5b1fdaded5b761814321598aab4b2039c1325ea --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:43:35,847 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:43:35,913 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2024-10-11 14:43:35,919 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:43:35,922 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:43:35,953 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:43:35,953 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:43:35,954 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:43:35,954 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:43:35,955 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:43:35,956 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:43:35,956 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:43:35,957 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:43:35,957 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:43:35,959 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:43:35,960 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:43:35,960 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:43:35,960 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-11 14:43:35,960 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:43:35,961 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:43:35,961 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:43:35,962 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:43:35,965 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:43:35,965 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:43:35,966 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:43:35,966 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:43:35,966 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:43:35,966 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:43:35,966 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:43:35,967 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:43:35,967 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:43:35,967 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:43:35,967 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:43:35,967 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-11 14:43:35,968 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-11 14:43:35,968 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:43:35,968 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:43:35,968 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:43:35,969 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:43:35,969 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-clean/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-clean/releaseScripts/default/UAutomizer-linux 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 ! call(reach_error())) ) 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 -> 926c219674f55200b40d9809e5b1fdaded5b761814321598aab4b2039c1325ea [2024-10-11 14:43:36,235 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:43:36,261 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:43:36,265 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:43:36,266 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:43:36,267 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:43:36,268 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i [2024-10-11 14:43:37,646 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:43:38,147 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:43:38,147 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i [2024-10-11 14:43:38,192 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/24a685e24/0c9ce3114d854a1386f34105bff1046c/FLAGbcf2b27e6 [2024-10-11 14:43:38,207 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/24a685e24/0c9ce3114d854a1386f34105bff1046c [2024-10-11 14:43:38,210 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:43:38,211 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:43:38,214 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:38,214 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:43:38,220 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:43:38,221 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:38" (1/1) ... [2024-10-11 14:43:38,222 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@231b0a32 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:38, skipping insertion in model container [2024-10-11 14:43:38,222 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:38" (1/1) ... [2024-10-11 14:43:38,326 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:43:38,650 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4497,4510] [2024-10-11 14:43:38,663 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4557,4570] [2024-10-11 14:43:39,628 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,629 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,630 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,630 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,632 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,648 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,649 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,651 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:39,651 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,464 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,464 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,597 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:40,665 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:43:40,682 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4497,4510] [2024-10-11 14:43:40,682 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4557,4570] [2024-10-11 14:43:40,720 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,721 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,721 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,721 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,722 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,727 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,727 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,728 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,728 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,815 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8269] [2024-10-11 14:43:40,818 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,818 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:40,830 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8755-8766] [2024-10-11 14:43:40,846 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:41,029 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:43:41,030 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:41 WrapperNode [2024-10-11 14:43:41,030 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:41,031 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:41,031 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:43:41,031 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:43:41,039 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:41" (1/1) ... [2024-10-11 14:43:41,141 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8191]: Variable #t~ret1043 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:43:41,141 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8191]: Undeclared identifier #t~ret1043 in IdentifierExpression[#t~ret1043,] [2024-10-11 14:43:41,143 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8246]: Variable #t~ret1069 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:43:41,143 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8246]: Undeclared identifier #t~ret1069 in IdentifierExpression[#t~ret1069,] [2024-10-11 14:43:41,149 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:41" (1/1) ... [2024-10-11 14:43:41,149 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:41,149 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:43:41,156 INFO L158 Benchmark]: Toolchain (without parser) took 2939.04ms. Allocated memory is still 161.5MB. Free memory was 105.9MB in the beginning and 59.2MB in the end (delta: 46.8MB). Peak memory consumption was 46.8MB. Max. memory is 16.1GB. [2024-10-11 14:43:41,156 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 100.7MB. Free memory is still 67.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:43:41,157 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2816.26ms. Allocated memory is still 161.5MB. Free memory was 105.3MB in the beginning and 64.7MB in the end (delta: 40.6MB). Peak memory consumption was 97.1MB. Max. memory is 16.1GB. [2024-10-11 14:43:41,158 INFO L158 Benchmark]: Boogie Procedure Inliner took 117.94ms. Allocated memory is still 161.5MB. Free memory was 64.0MB in the beginning and 59.2MB in the end (delta: 4.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-10-11 14:43:41,160 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.16ms. Allocated memory is still 100.7MB. Free memory is still 67.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2816.26ms. Allocated memory is still 161.5MB. Free memory was 105.3MB in the beginning and 64.7MB in the end (delta: 40.6MB). Peak memory consumption was 97.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 117.94ms. Allocated memory is still 161.5MB. Free memory was 64.0MB in the beginning and 59.2MB in the end (delta: 4.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8191]: Type Error Variable #t~ret1043 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8191]: Type Error Undeclared identifier #t~ret1043 in IdentifierExpression[#t~ret1043,] - TypeErrorResult [Line: 8246]: Type Error Variable #t~ret1069 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8246]: Type Error Undeclared identifier #t~ret1069 in IdentifierExpression[#t~ret1069,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8269]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8269] - GenericResultAtLocation [Line: 8755]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8755-8766] 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: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 926c219674f55200b40d9809e5b1fdaded5b761814321598aab4b2039c1325ea --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:43:43,179 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:43:43,259 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Bitvector.epf [2024-10-11 14:43:43,265 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:43:43,265 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:43:43,302 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:43:43,302 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:43:43,303 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:43:43,303 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:43:43,303 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:43:43,304 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:43:43,304 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:43:43,305 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:43:43,309 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:43:43,309 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:43:43,309 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:43:43,309 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:43:43,310 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:43:43,310 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:43:43,310 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:43:43,310 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:43:43,312 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-11 14:43:43,312 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-11 14:43:43,312 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:43:43,313 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-11 14:43:43,313 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:43:43,313 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:43:43,314 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:43:43,314 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:43:43,314 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:43:43,315 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:43:43,316 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:43:43,316 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:43:43,316 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:43:43,316 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:43:43,317 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-11 14:43:43,317 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-11 14:43:43,317 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:43:43,318 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:43:43,318 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:43:43,318 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:43:43,319 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-11 14:43:43,319 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-clean/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-clean/releaseScripts/default/UAutomizer-linux 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 ! call(reach_error())) ) 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 -> 926c219674f55200b40d9809e5b1fdaded5b761814321598aab4b2039c1325ea [2024-10-11 14:43:43,664 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:43:43,686 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:43:43,690 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:43:43,691 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:43:43,692 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:43:43,693 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i [2024-10-11 14:43:45,129 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:43:45,637 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:43:45,638 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i [2024-10-11 14:43:45,682 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/872f585cd/25fb2613cf1a4f0d8a1212964d0f84db/FLAGebe86f5fc [2024-10-11 14:43:45,698 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/872f585cd/25fb2613cf1a4f0d8a1212964d0f84db [2024-10-11 14:43:45,701 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:43:45,703 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:43:45,705 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:45,706 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:43:45,711 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:43:45,711 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:45" (1/1) ... [2024-10-11 14:43:45,712 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7a254940 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:45, skipping insertion in model container [2024-10-11 14:43:45,712 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:45" (1/1) ... [2024-10-11 14:43:45,799 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:43:46,092 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4497,4510] [2024-10-11 14:43:46,100 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4557,4570] [2024-10-11 14:43:46,725 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,726 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,727 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,727 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,728 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,746 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,747 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,748 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:46,749 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,241 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,242 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,327 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:47,393 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-10-11 14:43:47,452 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:43:47,459 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4497,4510] [2024-10-11 14:43:47,460 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4557,4570] [2024-10-11 14:43:47,497 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,498 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,498 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,498 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,500 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,507 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,508 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,508 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,509 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,639 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,640 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,667 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:47,704 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:43:47,718 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4497,4510] [2024-10-11 14:43:47,719 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_from_c_str_harness.i[4557,4570] [2024-10-11 14:43:47,749 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,750 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,750 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,751 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,751 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,758 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,758 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,759 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,759 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,986 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8269] [2024-10-11 14:43:47,994 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:47,998 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:48,059 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8755-8766] [2024-10-11 14:43:48,094 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:48,369 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:43:48,369 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:48 WrapperNode [2024-10-11 14:43:48,370 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:48,371 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:48,371 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:43:48,371 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:43:48,378 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:48" (1/1) ... [2024-10-11 14:43:48,489 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8191]: Variable #t~ret1030 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:43:48,490 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8191]: Undeclared identifier #t~ret1030 in IdentifierExpression[#t~ret1030,] [2024-10-11 14:43:48,491 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8246]: Variable #t~ret1056 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:43:48,492 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8246]: Undeclared identifier #t~ret1056 in IdentifierExpression[#t~ret1056,] [2024-10-11 14:43:48,497 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:48" (1/1) ... [2024-10-11 14:43:48,497 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:48,497 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:43:48,499 INFO L158 Benchmark]: Toolchain (without parser) took 2795.53ms. Allocated memory was 75.5MB in the beginning and 199.2MB in the end (delta: 123.7MB). Free memory was 50.1MB in the beginning and 108.2MB in the end (delta: -58.1MB). Peak memory consumption was 65.0MB. Max. memory is 16.1GB. [2024-10-11 14:43:48,500 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 54.5MB. Free memory was 33.3MB in the beginning and 33.2MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:43:48,500 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2665.25ms. Allocated memory was 75.5MB in the beginning and 199.2MB in the end (delta: 123.7MB). Free memory was 49.8MB in the beginning and 113.4MB in the end (delta: -63.6MB). Peak memory consumption was 67.8MB. Max. memory is 16.1GB. [2024-10-11 14:43:48,502 INFO L158 Benchmark]: Boogie Procedure Inliner took 126.57ms. Allocated memory is still 199.2MB. Free memory was 113.4MB in the beginning and 108.2MB in the end (delta: 5.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-10-11 14:43:48,503 INFO L338 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 54.5MB. Free memory was 33.3MB in the beginning and 33.2MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2665.25ms. Allocated memory was 75.5MB in the beginning and 199.2MB in the end (delta: 123.7MB). Free memory was 49.8MB in the beginning and 113.4MB in the end (delta: -63.6MB). Peak memory consumption was 67.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 126.57ms. Allocated memory is still 199.2MB. Free memory was 113.4MB in the beginning and 108.2MB in the end (delta: 5.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8191]: Type Error Variable #t~ret1030 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8191]: Type Error Undeclared identifier #t~ret1030 in IdentifierExpression[#t~ret1030,] - TypeErrorResult [Line: 8246]: Type Error Variable #t~ret1056 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8246]: Type Error Undeclared identifier #t~ret1056 in IdentifierExpression[#t~ret1056,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8269]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8269] - GenericResultAtLocation [Line: 8755]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8755-8766] 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: TYPE ERROR