./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_cursor_right_trim_pred_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_cursor_right_trim_pred_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 60b7561cd9c1cc24d47924badc2bd864b522ccc42d310ee701ffae2771f101d1 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:45:05,766 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:45:05,844 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:45:05,850 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:45:05,852 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:45:05,881 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:45:05,882 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:45:05,883 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:45:05,883 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:45:05,886 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:45:05,887 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:45:05,887 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:45:05,888 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:45:05,888 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:45:05,888 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:45:05,889 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:45:05,889 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:45:05,891 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-11 14:45:05,892 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:45:05,892 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:45:05,892 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:45:05,894 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:45:05,894 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:45:05,894 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:45:05,894 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:45:05,895 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:45:05,895 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:45:05,895 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:45:05,896 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:45:05,896 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:45:05,897 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:45:05,897 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:45:05,898 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:45:05,898 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-11 14:45:05,898 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-11 14:45:05,899 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:45:05,899 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:45:05,899 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:45:05,899 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:45:05,900 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 -> 60b7561cd9c1cc24d47924badc2bd864b522ccc42d310ee701ffae2771f101d1 [2024-10-11 14:45:06,165 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:45:06,191 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:45:06,194 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:45:06,196 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:45:06,196 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:45:06,198 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_cursor_right_trim_pred_harness.i [2024-10-11 14:45:07,630 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:45:08,081 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:45:08,084 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_cursor_right_trim_pred_harness.i [2024-10-11 14:45:08,123 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/15f44ec2d/51fa1b1350a44c27a112a24d1dd5d22f/FLAGdb3f049f2 [2024-10-11 14:45:08,208 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/15f44ec2d/51fa1b1350a44c27a112a24d1dd5d22f [2024-10-11 14:45:08,211 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:45:08,212 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:45:08,212 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:45:08,213 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:45:08,235 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:45:08,236 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:45:08" (1/1) ... [2024-10-11 14:45:08,237 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6e99fd1d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:45:08, skipping insertion in model container [2024-10-11 14:45:08,237 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:45:08" (1/1) ... [2024-10-11 14:45:08,346 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:45:08,646 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_cursor_right_trim_pred_harness.i[4505,4518] [2024-10-11 14:45:08,657 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_cursor_right_trim_pred_harness.i[4565,4578] [2024-10-11 14:45:09,776 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,781 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,781 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,782 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,786 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,799 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,800 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,802 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:09,803 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,338 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,339 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,401 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:45:10,454 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:45:10,478 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_cursor_right_trim_pred_harness.i[4505,4518] [2024-10-11 14:45:10,482 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_cursor_right_trim_pred_harness.i[4565,4578] [2024-10-11 14:45:10,516 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,517 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,517 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,517 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,518 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,523 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,524 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,525 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,525 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,638 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8271] [2024-10-11 14:45:10,640 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,641 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:10,655 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8757-8768] [2024-10-11 14:45:10,675 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:45:10,989 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:45:10,989 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:45:10 WrapperNode [2024-10-11 14:45:10,989 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:45:10,990 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:45:10,990 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:45:10,991 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:45:10,997 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:45:10" (1/1) ... [2024-10-11 14:45:11,080 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8193]: Variable #t~ret1043 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:45:11,081 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8193]: Undeclared identifier #t~ret1043 in IdentifierExpression[#t~ret1043,] [2024-10-11 14:45:11,081 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8248]: Variable #t~ret1069 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:45:11,082 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8248]: Undeclared identifier #t~ret1069 in IdentifierExpression[#t~ret1069,] [2024-10-11 14:45:11,092 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:45:10" (1/1) ... [2024-10-11 14:45:11,092 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:45:11,092 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:45:11,098 INFO L158 Benchmark]: Toolchain (without parser) took 2881.50ms. Allocated memory was 163.6MB in the beginning and 211.8MB in the end (delta: 48.2MB). Free memory was 99.3MB in the beginning and 88.2MB in the end (delta: 11.2MB). Peak memory consumption was 64.6MB. Max. memory is 16.1GB. [2024-10-11 14:45:11,099 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 163.6MB. Free memory is still 125.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:45:11,099 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2777.13ms. Allocated memory was 163.6MB in the beginning and 211.8MB in the end (delta: 48.2MB). Free memory was 99.3MB in the beginning and 93.4MB in the end (delta: 5.9MB). Peak memory consumption was 73.0MB. Max. memory is 16.1GB. [2024-10-11 14:45:11,100 INFO L158 Benchmark]: Boogie Procedure Inliner took 101.81ms. Allocated memory is still 211.8MB. Free memory was 93.4MB in the beginning and 88.2MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-10-11 14:45:11,101 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.20ms. Allocated memory is still 163.6MB. Free memory is still 125.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2777.13ms. Allocated memory was 163.6MB in the beginning and 211.8MB in the end (delta: 48.2MB). Free memory was 99.3MB in the beginning and 93.4MB in the end (delta: 5.9MB). Peak memory consumption was 73.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 101.81ms. Allocated memory is still 211.8MB. Free memory was 93.4MB in the beginning and 88.2MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8193]: Type Error Variable #t~ret1043 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8193]: Type Error Undeclared identifier #t~ret1043 in IdentifierExpression[#t~ret1043,] - TypeErrorResult [Line: 8248]: Type Error Variable #t~ret1069 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8248]: Type Error Undeclared identifier #t~ret1069 in IdentifierExpression[#t~ret1069,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8271]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8271] - GenericResultAtLocation [Line: 8757]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8757-8768] 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_cursor_right_trim_pred_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 60b7561cd9c1cc24d47924badc2bd864b522ccc42d310ee701ffae2771f101d1 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:45:13,116 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:45:13,186 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:45:13,193 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:45:13,194 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:45:13,227 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:45:13,228 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:45:13,229 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:45:13,229 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:45:13,231 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:45:13,232 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:45:13,232 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:45:13,232 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:45:13,233 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:45:13,233 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:45:13,234 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:45:13,236 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:45:13,237 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:45:13,237 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:45:13,237 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:45:13,237 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:45:13,238 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-11 14:45:13,238 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-11 14:45:13,238 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:45:13,238 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-11 14:45:13,238 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:45:13,239 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:45:13,239 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:45:13,239 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:45:13,239 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:45:13,239 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:45:13,240 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:45:13,240 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:45:13,240 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:45:13,250 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:45:13,251 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-11 14:45:13,252 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-11 14:45:13,252 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:45:13,252 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:45:13,252 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:45:13,253 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:45:13,253 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-11 14:45:13,253 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 -> 60b7561cd9c1cc24d47924badc2bd864b522ccc42d310ee701ffae2771f101d1 [2024-10-11 14:45:13,558 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:45:13,581 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:45:13,584 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:45:13,585 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:45:13,586 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:45:13,587 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_cursor_right_trim_pred_harness.i [2024-10-11 14:45:15,199 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:45:15,706 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:45:15,708 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_cursor_right_trim_pred_harness.i [2024-10-11 14:45:15,750 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/f14a4eff2/4a35e9bc96ea4ca6b302bcfbbc78367b/FLAG35050f186 [2024-10-11 14:45:16,261 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/f14a4eff2/4a35e9bc96ea4ca6b302bcfbbc78367b [2024-10-11 14:45:16,262 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:45:16,263 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:45:16,264 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:45:16,264 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:45:16,269 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:45:16,270 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:45:16" (1/1) ... [2024-10-11 14:45:16,271 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@73e53248 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:45:16, skipping insertion in model container [2024-10-11 14:45:16,271 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:45:16" (1/1) ... [2024-10-11 14:45:16,366 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:45:16,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_cursor_right_trim_pred_harness.i[4505,4518] [2024-10-11 14:45:16,659 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_cursor_right_trim_pred_harness.i[4565,4578] [2024-10-11 14:45:17,303 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,306 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,307 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,308 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,309 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,326 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,331 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,332 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,332 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,910 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,911 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:17,974 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:45:18,046 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-10-11 14:45:18,091 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:45:18,099 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_cursor_right_trim_pred_harness.i[4505,4518] [2024-10-11 14:45:18,099 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_cursor_right_trim_pred_harness.i[4565,4578] [2024-10-11 14:45:18,140 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,140 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,141 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,142 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,142 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,150 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,154 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,155 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,155 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,267 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,267 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,293 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:45:18,324 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:45:18,341 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_cursor_right_trim_pred_harness.i[4505,4518] [2024-10-11 14:45:18,342 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_cursor_right_trim_pred_harness.i[4565,4578] [2024-10-11 14:45:18,404 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,407 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,407 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,407 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,408 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,416 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,417 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,417 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,418 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,590 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8271] [2024-10-11 14:45:18,597 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,597 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:45:18,619 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8757-8768] [2024-10-11 14:45:18,639 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:45:18,944 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:45:18,944 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:45:18 WrapperNode [2024-10-11 14:45:18,944 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:45:18,945 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:45:18,946 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:45:18,946 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:45:18,953 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:45:18" (1/1) ... [2024-10-11 14:45:19,051 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8193]: Variable #t~ret1030 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:45:19,052 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8193]: Undeclared identifier #t~ret1030 in IdentifierExpression[#t~ret1030,] [2024-10-11 14:45:19,056 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8248]: Variable #t~ret1056 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:45:19,057 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8248]: Undeclared identifier #t~ret1056 in IdentifierExpression[#t~ret1056,] [2024-10-11 14:45:19,061 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:45:18" (1/1) ... [2024-10-11 14:45:19,065 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:45:19,065 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:45:19,067 INFO L158 Benchmark]: Toolchain (without parser) took 2802.99ms. Allocated memory was 75.5MB in the beginning and 121.6MB in the end (delta: 46.1MB). Free memory was 51.7MB in the beginning and 54.0MB in the end (delta: -2.3MB). Peak memory consumption was 43.4MB. Max. memory is 16.1GB. [2024-10-11 14:45:19,068 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 56.6MB. Free memory is still 31.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:45:19,069 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2680.30ms. Allocated memory was 75.5MB in the beginning and 121.6MB in the end (delta: 46.1MB). Free memory was 51.4MB in the beginning and 59.5MB in the end (delta: -8.2MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. [2024-10-11 14:45:19,069 INFO L158 Benchmark]: Boogie Procedure Inliner took 119.91ms. Allocated memory is still 121.6MB. Free memory was 59.5MB in the beginning and 54.0MB in the end (delta: 5.5MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-10-11 14:45:19,071 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 56.6MB. Free memory is still 31.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2680.30ms. Allocated memory was 75.5MB in the beginning and 121.6MB in the end (delta: 46.1MB). Free memory was 51.4MB in the beginning and 59.5MB in the end (delta: -8.2MB). Peak memory consumption was 66.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 119.91ms. Allocated memory is still 121.6MB. Free memory was 59.5MB in the beginning and 54.0MB in the end (delta: 5.5MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8193]: Type Error Variable #t~ret1030 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8193]: Type Error Undeclared identifier #t~ret1030 in IdentifierExpression[#t~ret1030,] - TypeErrorResult [Line: 8248]: Type Error Variable #t~ret1056 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8248]: Type Error Undeclared identifier #t~ret1056 in IdentifierExpression[#t~ret1056,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8271]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8271] - GenericResultAtLocation [Line: 8757]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8757-8768] 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