certora-cli-alpha-master 20251011.1.15.435894__py3-none-macosx_10_9_universal2.whl → 20251012.10.16.14285__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 +4 -3
- certora_cli/CertoraProver/certoraContextAttributes.py +11 -0
- {certora_cli_alpha_master-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.dist-info}/METADATA +2 -2
- {certora_cli_alpha_master-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.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-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.dist-info}/LICENSE +0 -0
- {certora_cli_alpha_master-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.dist-info}/WHEEL +0 -0
- {certora_cli_alpha_master-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.dist-info}/entry_points.txt +0 -0
- {certora_cli_alpha_master-20251011.1.15.435894.dist-info → certora_cli_alpha_master-20251012.10.16.14285.dist-info}/top_level.txt +0 -0
@@ -1554,9 +1554,10 @@ class CertoraBuildGenerator:
|
|
1554
1554
|
@param compiler_collector: Solidity or Vyper compiler collector
|
1555
1555
|
@return:
|
1556
1556
|
"""
|
1557
|
+
solc_json_contract_key = contract_file_as_provided if self.context.use_relpaths_for_solc_json else contract_file_posix_abs
|
1557
1558
|
compiler_collector_lang = compiler_collector.smart_contract_lang
|
1558
1559
|
if compiler_collector_lang == CompilerLangSol() or compiler_collector_lang == CompilerLangYul():
|
1559
|
-
sources_dict = {str(
|
1560
|
+
sources_dict = {str(solc_json_contract_key): {
|
1560
1561
|
"urls": [str(contract_file_posix_abs)]}} # type: Dict[str, Dict[str, Any]]
|
1561
1562
|
output_selection = ["transientStorageLayout", "storageLayout", "abi", "evm.bytecode",
|
1562
1563
|
"evm.deployedBytecode", "evm.methodIdentifiers", "evm.assembly",
|
@@ -2008,7 +2009,7 @@ class CertoraBuildGenerator:
|
|
2008
2009
|
srclist = {"0": file_abs_path}
|
2009
2010
|
report_srclist = {"0": file_abs_path}
|
2010
2011
|
|
2011
|
-
report_source_file = report_srclist[[idx for idx in srclist if srclist[idx] == file_abs_path][0]]
|
2012
|
+
report_source_file = report_srclist[[idx for idx in srclist if Util.abs_posix_path(srclist[idx]) == file_abs_path][0]]
|
2012
2013
|
|
2013
2014
|
# all "contracts in SDC" are the same for every primary contract of the compiled file.
|
2014
2015
|
# we can therefore compute those just once...
|
@@ -2086,7 +2087,7 @@ class CertoraBuildGenerator:
|
|
2086
2087
|
if new_path is None:
|
2087
2088
|
file_abs_path = Util.abs_posix_path(build_arg_contract_file)
|
2088
2089
|
# for vyper, because there are no autofinders, at least find the main file
|
2089
|
-
if (orig_file == file_abs_path and
|
2090
|
+
if (Util.abs_posix_path(orig_file) == file_abs_path and
|
2090
2091
|
((Util.get_certora_sources_dir() / build_arg_contract_file).exists() or
|
2091
2092
|
Path(build_arg_contract_file).exists())):
|
2092
2093
|
new_srclist_map[idx] = build_arg_contract_file
|
@@ -753,6 +753,17 @@ class EvmAttributes(AttrUtil.Attributes):
|
|
753
753
|
disables_build_cache=True # prefer to be extra careful with this rare option
|
754
754
|
)
|
755
755
|
|
756
|
+
USE_RELPATHS_FOR_SOLC_JSON = AttrUtil.AttributeDefinition(
|
757
|
+
arg_type=AttrUtil.AttrArgType.BOOLEAN,
|
758
|
+
help_msg="Uses relative paths when constructing json keys for solc's standard-json input",
|
759
|
+
default_desc="By using relative paths for the standard json, some rare compilation errors can be prevented",
|
760
|
+
argparse_args={
|
761
|
+
'action': AttrUtil.STORE_TRUE
|
762
|
+
},
|
763
|
+
affects_build_cache_key=True,
|
764
|
+
disables_build_cache=False
|
765
|
+
)
|
766
|
+
|
756
767
|
IGNORE_SOLIDITY_WARNINGS = AttrUtil.AttributeDefinition(
|
757
768
|
arg_type=AttrUtil.AttrArgType.BOOLEAN,
|
758
769
|
help_msg="Ignore all Solidity compiler warnings",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: certora-cli-alpha-master
|
3
|
-
Version:
|
3
|
+
Version: 20251012.10.16.14285
|
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 bc7cfe4. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -13,7 +13,7 @@ certora_cli/certoraSorobanProver.py,sha256=SYJKz5Sw-N0bJrSa1njRCE53R9_PMz7IWLhfa
|
|
13
13
|
certora_cli/rustMutator.py,sha256=6AvOGU8Ijz89zW_ZJCWlfXkeobJsk7EsqZhK7Eqwn-Y,14544
|
14
14
|
certora_cli/CertoraProver/__init__.py,sha256=QHNr-PJQAoyuPgTkO7gg23GRchiWSXglWNG7yLSQZvs,849
|
15
15
|
certora_cli/CertoraProver/certoraApp.py,sha256=RKJ2Krb_CzbRUvczbdE6FhUDrFcvrR8j0JS8MNWXX7s,1469
|
16
|
-
certora_cli/CertoraProver/certoraBuild.py,sha256=
|
16
|
+
certora_cli/CertoraProver/certoraBuild.py,sha256=4fDUL8cOEsJcy3gysZymc35QKl7Ht28DeZaGgDvIRvc,225385
|
17
17
|
certora_cli/CertoraProver/certoraBuildCacheManager.py,sha256=YnZmBZ_gCIbLwExgK5oxFlVDQGe4_YuGIpDLMy589E0,13318
|
18
18
|
certora_cli/CertoraProver/certoraBuildDataClasses.py,sha256=hO0w3YK9V9gZsTbh4gxxlnEAaOiubUwfzNEw6uL1HaE,14841
|
19
19
|
certora_cli/CertoraProver/certoraBuildRust.py,sha256=ZPbNp4ttRmzcKhFsgHSiHDRExNPaLOzgxTRqu23o1D0,6061
|
@@ -24,7 +24,7 @@ certora_cli/CertoraProver/certoraCollectRunMetadata.py,sha256=i31dkYt8kwlX44SHZt
|
|
24
24
|
certora_cli/CertoraProver/certoraCompilerParameters.py,sha256=r35y03IRwWIoz1GCNC7PuW3n8JPz9J1NGwhwUYKdYtI,1452
|
25
25
|
certora_cli/CertoraProver/certoraConfigIO.py,sha256=-1EhJYsiheYvyCgOOWrRCQBjqtqNXrpMKJYRq5cKJ0Y,8171
|
26
26
|
certora_cli/CertoraProver/certoraContext.py,sha256=bBbLPet5si6jFEdL1TBORN-HCiJGQK7hD6OQZ_ODmFY,28878
|
27
|
-
certora_cli/CertoraProver/certoraContextAttributes.py,sha256=
|
27
|
+
certora_cli/CertoraProver/certoraContextAttributes.py,sha256=jtL_0nnRbPJ8pMNmMekDHZqTQueQGP_-tOSN6-4ql0Y,70680
|
28
28
|
certora_cli/CertoraProver/certoraContextClass.py,sha256=d7HDqM72K7YnswR7kEcAHGwkFNrTqRz5-_0m7cl2Mso,900
|
29
29
|
certora_cli/CertoraProver/certoraContextValidator.py,sha256=clXwmYHIBUmOJ8ADRUmu9U6_pNe_tXRNawvUPBLlYVY,46490
|
30
30
|
certora_cli/CertoraProver/certoraContractFuncs.py,sha256=-CV7MkmsrwYfdYFAd6ZZib_6-mDG_ytxPM4hAjxtbMM,7137
|
@@ -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=f3v0SeoJjAxk8ib1kvmWxvgV_3xIPrqq3ZTrQ2Yf6F4,20968739
|
72
|
+
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=YjIryFBRPwVI0YdZ7waeopdR60h0Gbn7eljc_7Xszow,170
|
73
|
+
certora_jars/Typechecker.jar,sha256=dhX9aYhd--gIwf7lb7crZzZ3f8I_K9noqCenbBI91XM,20930898
|
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-20251012.10.16.14285.dist-info/LICENSE,sha256=UGKSKIJSetF8m906JLKqNLkUS2CL60XfQdNvxBvpQXo,620
|
76
|
+
certora_cli_alpha_master-20251012.10.16.14285.dist-info/METADATA,sha256=ke_-Dnxre_uicjBaUJgHe2JigGJYAlLYqTJxQqYHsXM,1303
|
77
|
+
certora_cli_alpha_master-20251012.10.16.14285.dist-info/WHEEL,sha256=9Ig2YBzm5cpS_YWKLeuYxVAxcKv_uDQsCzy9XJbRZ_g,110
|
78
|
+
certora_cli_alpha_master-20251012.10.16.14285.dist-info/entry_points.txt,sha256=ClZiFkCYDdK25_ufxZvnE2Rx_kNk1_4vj7KpgYUKxGM,509
|
79
|
+
certora_cli_alpha_master-20251012.10.16.14285.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
|
80
|
+
certora_cli_alpha_master-20251012.10.16.14285.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": "bc7cfe4", "timestamp": "20251012.10.16.014285", "version": "20251012.10.16.014285+bc7cfe4"}
|
certora_jars/Typechecker.jar
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|