certora-cli-alpha-master 20251008.22.19.660157__py3-none-macosx_10_9_universal2.whl → 20251010.8.40.372967__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/certoraConfigIO.py +7 -2
- certora_cli/CertoraProver/certoraContext.py +2 -2
- {certora_cli_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.dist-info}/METADATA +2 -2
- {certora_cli_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.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_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.dist-info}/LICENSE +0 -0
- {certora_cli_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.dist-info}/WHEEL +0 -0
- {certora_cli_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.dist-info}/entry_points.txt +0 -0
- {certora_cli_alpha_master-20251008.22.19.660157.dist-info → certora_cli_alpha_master-20251010.8.40.372967.dist-info}/top_level.txt +0 -0
@@ -99,7 +99,7 @@ def handle_override_base_config(context: CertoraContext) -> None:
|
|
99
99
|
try:
|
100
100
|
with (Path(context.override_base_config).open() as conf_file):
|
101
101
|
override_base_config_attrs = Util.read_conf_file(conf_file)
|
102
|
-
|
102
|
+
context.attrs_set_in_main_conf = context.conf_file_attr.copy()
|
103
103
|
context.conf_file_attr = {**override_base_config_attrs, **context.conf_file_attr}
|
104
104
|
|
105
105
|
if 'override_base_config' in override_base_config_attrs:
|
@@ -111,7 +111,12 @@ def handle_override_base_config(context: CertoraContext) -> None:
|
|
111
111
|
if hasattr(context, attr):
|
112
112
|
value = getattr(context, attr, False)
|
113
113
|
if not value:
|
114
|
-
if
|
114
|
+
# if boolean attribute does not appear in main conf but is True in the base conf, set it to True
|
115
|
+
if override_base_config_attrs[attr] is True and attr not in context.attrs_set_in_main_conf:
|
116
|
+
setattr(context, attr, True)
|
117
|
+
continue
|
118
|
+
# if boolean attribute does appear in main conf and is False, do not override it
|
119
|
+
elif attr in context.conf_file_attr and value is False:
|
115
120
|
continue # skip override if a boolean attribute was explicitly set to False in the conf file
|
116
121
|
setattr(context, attr, override_base_config_attrs.get(attr))
|
117
122
|
else:
|
@@ -670,10 +670,10 @@ def get_map_attribute_value(context: CertoraContext, path: Path, attr_name: str)
|
|
670
670
|
for contract_name, contract_file_path in context.contract_to_file.items():
|
671
671
|
if fnmatch.fnmatch(contract_name, pattern):
|
672
672
|
# Check if this contract's file matches our target path
|
673
|
-
if
|
673
|
+
if str(path).endswith(contract_file_path):
|
674
674
|
return entry_value
|
675
675
|
else: # This is a file pattern
|
676
676
|
# Match the file pattern against the path
|
677
677
|
if glob.globmatch(str(path), pattern, flags=glob.GLOBSTAR):
|
678
678
|
return entry_value
|
679
|
-
|
679
|
+
raise RuntimeError(f"cannot match {attr_name} to {path} from {attr_name}_map")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: certora-cli-alpha-master
|
3
|
-
Version:
|
3
|
+
Version: 20251010.8.40.372967
|
4
4
|
Summary: Runner for the Certora Prover
|
5
5
|
Home-page: https://pypi.org/project/certora-cli-alpha-master
|
6
6
|
Author: Certora
|
@@ -39,4 +39,4 @@ Dynamic: requires-dist
|
|
39
39
|
Dynamic: requires-python
|
40
40
|
Dynamic: summary
|
41
41
|
|
42
|
-
Commit
|
42
|
+
Commit fe3e454. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -22,8 +22,8 @@ certora_cli/CertoraProver/certoraCloudIO.py,sha256=99IRWSA4wAF1q_yu7m1IpDlybMVqt
|
|
22
22
|
certora_cli/CertoraProver/certoraCollectConfigurationLayout.py,sha256=Rln6LsqMp-u0H2fAFulTLAn7GW-j3ox2XZSz0ghdjk0,14116
|
23
23
|
certora_cli/CertoraProver/certoraCollectRunMetadata.py,sha256=i31dkYt8kwlX44SHZtV_b8QI1Egi6cbB5-uuh5beYN0,12630
|
24
24
|
certora_cli/CertoraProver/certoraCompilerParameters.py,sha256=r35y03IRwWIoz1GCNC7PuW3n8JPz9J1NGwhwUYKdYtI,1452
|
25
|
-
certora_cli/CertoraProver/certoraConfigIO.py,sha256
|
26
|
-
certora_cli/CertoraProver/certoraContext.py,sha256=
|
25
|
+
certora_cli/CertoraProver/certoraConfigIO.py,sha256=-1EhJYsiheYvyCgOOWrRCQBjqtqNXrpMKJYRq5cKJ0Y,8171
|
26
|
+
certora_cli/CertoraProver/certoraContext.py,sha256=bBbLPet5si6jFEdL1TBORN-HCiJGQK7hD6OQZ_ODmFY,28878
|
27
27
|
certora_cli/CertoraProver/certoraContextAttributes.py,sha256=dFV44uoKzpfAc5mCcTXVrAR3aFBi1YS_6evWcS5akVA,70197
|
28
28
|
certora_cli/CertoraProver/certoraContextClass.py,sha256=d7HDqM72K7YnswR7kEcAHGwkFNrTqRz5-_0m7cl2Mso,900
|
29
29
|
certora_cli/CertoraProver/certoraContextValidator.py,sha256=clXwmYHIBUmOJ8ADRUmu9U6_pNe_tXRNawvUPBLlYVY,46490
|
@@ -68,13 +68,13 @@ certora_cli/Shared/certoraLogging.py,sha256=cV2UQMhQ5j8crGXgeq9CEamI-Lk4HgdiA3HC
|
|
68
68
|
certora_cli/Shared/certoraUtils.py,sha256=g7jdTQ-Ek9WOGybPV2x-I1n8XYVCu_RBWqIuFGUsOpw,58694
|
69
69
|
certora_cli/Shared/certoraValidateFuncs.py,sha256=mYguICGfUwVZ9qPBFajss1xqHPDR-KRtskgERLum4AM,43225
|
70
70
|
certora_cli/Shared/proverCommon.py,sha256=uZkl9PDLPj81kKRnBnlPUmvhMZovNP25_74No_7jaQ4,11215
|
71
|
-
certora_jars/ASTExtraction.jar,sha256=
|
72
|
-
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=
|
73
|
-
certora_jars/Typechecker.jar,sha256=
|
71
|
+
certora_jars/ASTExtraction.jar,sha256=CXtghYzfMI6OMOczTSFlAKoIxXEmsDJAJVqMpw3qJf4,20968694
|
72
|
+
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=0-1yAyc0NMC9BgMDnemKHoX2Q87wEb0rrr09bUYkcxE,168
|
73
|
+
certora_jars/Typechecker.jar,sha256=Tn0k0q4-55wMLwWEtvsuxjlLfc1dczJY2GSa3xtIDGI,20930853
|
74
74
|
certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
75
|
-
certora_cli_alpha_master-
|
76
|
-
certora_cli_alpha_master-
|
77
|
-
certora_cli_alpha_master-
|
78
|
-
certora_cli_alpha_master-
|
79
|
-
certora_cli_alpha_master-
|
80
|
-
certora_cli_alpha_master-
|
75
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/LICENSE,sha256=UGKSKIJSetF8m906JLKqNLkUS2CL60XfQdNvxBvpQXo,620
|
76
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/METADATA,sha256=tnI97vQifOGoWRaX61vnUq1VgHBWXosP4ZwE13zs2Go,1303
|
77
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/WHEEL,sha256=9Ig2YBzm5cpS_YWKLeuYxVAxcKv_uDQsCzy9XJbRZ_g,110
|
78
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/entry_points.txt,sha256=ClZiFkCYDdK25_ufxZvnE2Rx_kNk1_4vj7KpgYUKxGM,509
|
79
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
|
80
|
+
certora_cli_alpha_master-20251010.8.40.372967.dist-info/RECORD,,
|
certora_jars/ASTExtraction.jar
CHANGED
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "
|
1
|
+
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "fe3e454", "timestamp": "20251010.8.40.372967", "version": "20251010.8.40.372967+fe3e454"}
|
certora_jars/Typechecker.jar
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|