certora-cli-beta-mirror 8.7.0__py3-none-macosx_10_9_universal2.whl → 8.8.0__py3-none-macosx_10_9_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- certora_cli/CertoraProver/certoraBuild.py +5 -2
- certora_cli/CertoraProver/certoraContextAttributes.py +26 -0
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/METADATA +2 -2
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/RECORD +11 -11
- certora_jars/ASTExtraction.jar +0 -0
- certora_jars/CERTORA-CLI-VERSION-METADATA.json +1 -1
- certora_jars/Typechecker.jar +0 -0
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/LICENSE +0 -0
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/WHEEL +0 -0
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/entry_points.txt +0 -0
- {certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/top_level.txt +0 -0
|
@@ -3337,6 +3337,9 @@ class CertoraBuildGenerator:
|
|
|
3337
3337
|
})
|
|
3338
3338
|
return result
|
|
3339
3339
|
|
|
3340
|
+
def _needs_casting_instrumentation(self) -> bool:
|
|
3341
|
+
return self.context.safe_casting_builtin or self.context.assume_no_casting_overflow
|
|
3342
|
+
|
|
3340
3343
|
def instrument_auto_finders(self, build_arg_contract_file: str, i: int,
|
|
3341
3344
|
sdc_pre_finders: List[SDC],
|
|
3342
3345
|
path_for_compiler_collector_file: str,
|
|
@@ -3386,7 +3389,7 @@ class CertoraBuildGenerator:
|
|
|
3386
3389
|
|
|
3387
3390
|
offset_converters = generate_offset_converters(sdc_pre_finder)
|
|
3388
3391
|
|
|
3389
|
-
if self.
|
|
3392
|
+
if self._needs_casting_instrumentation():
|
|
3390
3393
|
try:
|
|
3391
3394
|
casting_instrumentations, casting_types = generate_casting_instrumentation(self.asts, build_arg_contract_file, sdc_pre_finder, offset_converters)
|
|
3392
3395
|
except Exception as e:
|
|
@@ -3467,7 +3470,7 @@ class CertoraBuildGenerator:
|
|
|
3467
3470
|
read_so_far += amt + 1 + to_skip
|
|
3468
3471
|
output.write(in_file.read(-1))
|
|
3469
3472
|
|
|
3470
|
-
if self.
|
|
3473
|
+
if self._needs_casting_instrumentation():
|
|
3471
3474
|
library_name, funcs = casting_types.get(contract_file, ("", list()))
|
|
3472
3475
|
if len(funcs) > 0:
|
|
3473
3476
|
output.write(bytes(f"\nlibrary {library_name}" + "{\n", "utf8"))
|
|
@@ -1243,6 +1243,19 @@ class EvmAttributes(AttrUtil.Attributes):
|
|
|
1243
1243
|
disables_build_cache=False,
|
|
1244
1244
|
)
|
|
1245
1245
|
|
|
1246
|
+
ASSUME_NO_CASTING_OVERFLOW = AttrUtil.AttributeDefinition(
|
|
1247
|
+
arg_type=AttrUtil.AttrArgType.BOOLEAN,
|
|
1248
|
+
help_msg="Will Assume solidity casting expressions never overflow",
|
|
1249
|
+
default_desc="Solidity casting expressions may overflow",
|
|
1250
|
+
jar_flag='-assumeNoCastingOverflow',
|
|
1251
|
+
argparse_args={
|
|
1252
|
+
'action': AttrUtil.STORE_TRUE,
|
|
1253
|
+
'default': False
|
|
1254
|
+
},
|
|
1255
|
+
affects_build_cache_key=True,
|
|
1256
|
+
disables_build_cache=False,
|
|
1257
|
+
)
|
|
1258
|
+
|
|
1246
1259
|
UNCHECKED_OVERFLOW_BUILTIN = AttrUtil.AttributeDefinition(
|
|
1247
1260
|
arg_type=AttrUtil.AttrArgType.BOOLEAN,
|
|
1248
1261
|
help_msg="This needs to be set to true for the uncheckedOverflow builtin to work",
|
|
@@ -1256,6 +1269,19 @@ class EvmAttributes(AttrUtil.Attributes):
|
|
|
1256
1269
|
disables_build_cache=False,
|
|
1257
1270
|
)
|
|
1258
1271
|
|
|
1272
|
+
CONTRACT_EXTENSIONS_OVERRIDE = AttrUtil.AttributeDefinition(
|
|
1273
|
+
arg_type=AttrUtil.AttrArgType.BOOLEAN,
|
|
1274
|
+
help_msg="Set this flag if you are using `contract_extensions` and an extending contract has a method that should override a method with the same name in the extension contract",
|
|
1275
|
+
default_desc="Prover will fail if an extending contract has a method with the same name as one in the extended contract that wasn't excluded.",
|
|
1276
|
+
jar_flag='-overrideExtendedContractFunctions',
|
|
1277
|
+
argparse_args={
|
|
1278
|
+
'action': AttrUtil.STORE_TRUE,
|
|
1279
|
+
'default': False
|
|
1280
|
+
},
|
|
1281
|
+
affects_build_cache_key=False,
|
|
1282
|
+
disables_build_cache=False,
|
|
1283
|
+
)
|
|
1284
|
+
|
|
1259
1285
|
@classmethod
|
|
1260
1286
|
def hide_attributes(cls) -> List[str]:
|
|
1261
1287
|
# do not show these attributes in the help message
|
{certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: certora-cli-beta-mirror
|
|
3
|
-
Version: 8.
|
|
3
|
+
Version: 8.8.0
|
|
4
4
|
Summary: Runner for the Certora Prover
|
|
5
5
|
Home-page: https://pypi.org/project/certora-cli-beta-mirror
|
|
6
6
|
Author: Certora
|
|
@@ -38,4 +38,4 @@ Dynamic: requires-dist
|
|
|
38
38
|
Dynamic: requires-python
|
|
39
39
|
Dynamic: summary
|
|
40
40
|
|
|
41
|
-
Commit
|
|
41
|
+
Commit 2cf089d. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
|
@@ -15,7 +15,7 @@ certora_cli/rustMutator.py,sha256=j1YdY5HOWQcRNbz7TOxp5c79J0YaaYHtWZ6m2mSTeGc,14
|
|
|
15
15
|
certora_cli/CertoraProver/__init__.py,sha256=QHNr-PJQAoyuPgTkO7gg23GRchiWSXglWNG7yLSQZvs,849
|
|
16
16
|
certora_cli/CertoraProver/castingInstrumenter.py,sha256=maG3J0G2Bb8uT3_xA-AOo0gpBKmwhRJcEqvORD4JwNI,8412
|
|
17
17
|
certora_cli/CertoraProver/certoraApp.py,sha256=7pkQnUYMzP9V-Yo0jszNV9Y9aB760Q6hMZtlcXuuRp8,1660
|
|
18
|
-
certora_cli/CertoraProver/certoraBuild.py,sha256=
|
|
18
|
+
certora_cli/CertoraProver/certoraBuild.py,sha256=eR35uOEWF3zw8O95-28gqnixgPMNzn6MBuE2-8VC3jU,236152
|
|
19
19
|
certora_cli/CertoraProver/certoraBuildCacheManager.py,sha256=DnVd7w92xjmg0DIrMgoJnCvaU0yCz7ySy0M4RiHEXEM,13648
|
|
20
20
|
certora_cli/CertoraProver/certoraBuildDataClasses.py,sha256=RGeoZCS4OztfbEUak0Oq02wIPgrmAOwLBad6-_XvX8c,14936
|
|
21
21
|
certora_cli/CertoraProver/certoraBuildRust.py,sha256=ZPbNp4ttRmzcKhFsgHSiHDRExNPaLOzgxTRqu23o1D0,6061
|
|
@@ -26,7 +26,7 @@ certora_cli/CertoraProver/certoraCollectRunMetadata.py,sha256=wjP6m8W2rBka15vcj4
|
|
|
26
26
|
certora_cli/CertoraProver/certoraCompilerParameters.py,sha256=v-MIt4sDJSQ7vpEFmCt9XBkKBhdBbZuZA4PWNErJwcU,1807
|
|
27
27
|
certora_cli/CertoraProver/certoraConfigIO.py,sha256=-1EhJYsiheYvyCgOOWrRCQBjqtqNXrpMKJYRq5cKJ0Y,8171
|
|
28
28
|
certora_cli/CertoraProver/certoraContext.py,sha256=ezdLmR-tSDLTtokhTyS9DacnB3W64Ke_6e714Vuug3c,29196
|
|
29
|
-
certora_cli/CertoraProver/certoraContextAttributes.py,sha256=
|
|
29
|
+
certora_cli/CertoraProver/certoraContextAttributes.py,sha256=8dqlsKAwe3qcjnVLI2zRk4sIN-l5ICR3yFhzljVAAG8,75649
|
|
30
30
|
certora_cli/CertoraProver/certoraContextClass.py,sha256=d7HDqM72K7YnswR7kEcAHGwkFNrTqRz5-_0m7cl2Mso,900
|
|
31
31
|
certora_cli/CertoraProver/certoraContextValidator.py,sha256=_dIga4q2r2_q4Nk9T9dolfHfRbeKpMpJRZx0KR0zdI0,47415
|
|
32
32
|
certora_cli/CertoraProver/certoraContractFuncs.py,sha256=1CAA7Y9OEmdV-8Qlwk3SxEuOPBd15cd4T5lSv4NPYY8,8245
|
|
@@ -72,13 +72,13 @@ certora_cli/Shared/certoraLogging.py,sha256=cV2UQMhQ5j8crGXgeq9CEamI-Lk4HgdiA3HC
|
|
|
72
72
|
certora_cli/Shared/certoraUtils.py,sha256=WEvgDMqTeqC61Q0cW1inbTmGVEgFYawjq8H2vv26bmI,60574
|
|
73
73
|
certora_cli/Shared/certoraValidateFuncs.py,sha256=7m1cZVVeN1UaGdPtvjxDJBlDQF0Oq3gIkSexQsHKxuU,44893
|
|
74
74
|
certora_cli/Shared/proverCommon.py,sha256=DUB-uEKjOkZ-8qil6xukPqfTynpigXW-gcrm0_kRUZY,11383
|
|
75
|
-
certora_jars/ASTExtraction.jar,sha256=
|
|
76
|
-
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=
|
|
77
|
-
certora_jars/Typechecker.jar,sha256=
|
|
75
|
+
certora_jars/ASTExtraction.jar,sha256=1VB1tRT5q5cgcN1fdnvMQVd5a0zhOhylkw118hU-wSI,22249062
|
|
76
|
+
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=SdNMLPejAMnUasABM6lQEHAmlDxuPLmhvR10Wvu-liQ,144
|
|
77
|
+
certora_jars/Typechecker.jar,sha256=PWub0uzszl8cMKGX7ymSNUUB30v85sBsrCf7BCdKIxA,22211174
|
|
78
78
|
certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
|
-
certora_cli_beta_mirror-8.
|
|
80
|
-
certora_cli_beta_mirror-8.
|
|
81
|
-
certora_cli_beta_mirror-8.
|
|
82
|
-
certora_cli_beta_mirror-8.
|
|
83
|
-
certora_cli_beta_mirror-8.
|
|
84
|
-
certora_cli_beta_mirror-8.
|
|
79
|
+
certora_cli_beta_mirror-8.8.0.dist-info/LICENSE,sha256=UGKSKIJSetF8m906JLKqNLkUS2CL60XfQdNvxBvpQXo,620
|
|
80
|
+
certora_cli_beta_mirror-8.8.0.dist-info/METADATA,sha256=dWNDZeGK0fCa2IM6ueE6dtYNpX41e52L3lP-ugQir7Q,1254
|
|
81
|
+
certora_cli_beta_mirror-8.8.0.dist-info/WHEEL,sha256=9Ig2YBzm5cpS_YWKLeuYxVAxcKv_uDQsCzy9XJbRZ_g,110
|
|
82
|
+
certora_cli_beta_mirror-8.8.0.dist-info/entry_points.txt,sha256=YXGQmR4tGdYD9lLdG_TEJkmVNrRauCtCDE88HwvO2Jo,569
|
|
83
|
+
certora_cli_beta_mirror-8.8.0.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
|
|
84
|
+
certora_cli_beta_mirror-8.8.0.dist-info/RECORD,,
|
certora_jars/ASTExtraction.jar
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "certora-cli-beta-mirror", "tag": "8.
|
|
1
|
+
{"name": "certora-cli-beta-mirror", "tag": "8.8.0", "branch": "", "commit": "2cf089d", "timestamp": "20260202.13.36.178104", "version": "8.8.0"}
|
certora_jars/Typechecker.jar
CHANGED
|
Binary file
|
|
File without changes
|
|
File without changes
|
{certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{certora_cli_beta_mirror-8.7.0.dist-info → certora_cli_beta_mirror-8.8.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|