certora-cli-alpha-master 20250104.1.43.670857__py3-none-macosx_10_9_universal2.whl → 20250105.18.32.206125__py3-none-macosx_10_9_universal2.whl
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of certora-cli-alpha-master might be problematic. Click here for more details.
- certora_cli/EVMVerifier/certoraBuildRust.py +8 -6
- certora_cli/EVMVerifier/certoraContextAttributes.py +2 -0
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/METADATA +2 -2
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/RECORD +10 -10
- certora_jars/CERTORA-CLI-VERSION-METADATA.json +1 -1
- certora_jars/Typechecker.jar +0 -0
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/LICENSE +0 -0
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/WHEEL +0 -0
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/entry_points.txt +0 -0
- {certora_cli_alpha_master-20250104.1.43.670857.dist-info → certora_cli_alpha_master-20250105.18.32.206125.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,4 @@
|
|
1
1
|
import glob
|
2
|
-
import os
|
3
2
|
import shutil
|
4
3
|
from pathlib import Path
|
5
4
|
from typing import Set
|
@@ -24,7 +23,7 @@ def build_rust_app(context: CertoraContext) -> None:
|
|
24
23
|
# Create generators
|
25
24
|
build_source_tree(sources, context)
|
26
25
|
|
27
|
-
copy_files_to_build_dir(context
|
26
|
+
copy_files_to_build_dir(context)
|
28
27
|
|
29
28
|
except Exception as e:
|
30
29
|
raise Util.CertoraUserInputError(f"Collecting build files failed with the exception: {e}")
|
@@ -56,9 +55,14 @@ def collect_files_from_rust_sources(context: CertoraContext, sources: Set[Path],
|
|
56
55
|
if context.conf_file and Path(context.conf_file).exists():
|
57
56
|
sources.add(Path(context.conf_file).absolute())
|
58
57
|
|
58
|
+
additional_files = (getattr(context, 'solana_inlining', None) or []) + \
|
59
|
+
(getattr(context, 'solana_summaries', None) or [])
|
60
|
+
for file in additional_files:
|
61
|
+
sources.add(Path(file))
|
62
|
+
|
59
63
|
|
60
|
-
def copy_files_to_build_dir(context: CertoraContext
|
61
|
-
rust_executable =
|
64
|
+
def copy_files_to_build_dir(context: CertoraContext) -> None:
|
65
|
+
rust_executable = Path(context.rust_project_directory) / context.rust_executables
|
62
66
|
shutil.copyfile(rust_executable, Util.get_build_dir() / rust_executable.name)
|
63
67
|
|
64
68
|
additional_files = (getattr(context, 'solana_inlining', None) or []) + \
|
@@ -67,8 +71,6 @@ def copy_files_to_build_dir(context: CertoraContext, root_directory: Path) -> No
|
|
67
71
|
for file in additional_files:
|
68
72
|
file_path = Path(file).resolve()
|
69
73
|
shutil.copy(file_path, Util.get_build_dir() / file_path.name)
|
70
|
-
shutil.copy(file_path,
|
71
|
-
Util.get_certora_sources_dir() / os.path.relpath(file_path, context.rust_project_directory))
|
72
74
|
|
73
75
|
if rust_logs := getattr(context, 'rust_logs_stdout', None):
|
74
76
|
shutil.copy(Path(rust_logs), Util.get_build_dir() / Path(rust_logs).name)
|
@@ -1456,6 +1456,7 @@ class SolanaProverAttributes(CommonAttributes, InternalUseAttributes, BackendAtt
|
|
1456
1456
|
SOLANA_INLINING = AttrUtil.AttributeDefinition(
|
1457
1457
|
attr_validation_func=Vf.validate_readable_file,
|
1458
1458
|
arg_type=AttrUtil.AttrArgType.LIST,
|
1459
|
+
jar_flag='-solanaInlining',
|
1459
1460
|
help_msg="a list of paths for the inlining files of Solana contracts",
|
1460
1461
|
argparse_args={
|
1461
1462
|
'nargs': AttrUtil.ONE_OR_MORE_OCCURRENCES,
|
@@ -1468,6 +1469,7 @@ class SolanaProverAttributes(CommonAttributes, InternalUseAttributes, BackendAtt
|
|
1468
1469
|
SOLANA_SUMMARIES = AttrUtil.AttributeDefinition(
|
1469
1470
|
attr_validation_func=Vf.validate_readable_file,
|
1470
1471
|
arg_type=AttrUtil.AttrArgType.LIST,
|
1472
|
+
jar_flag='-solanaSummaries',
|
1471
1473
|
help_msg="a list of paths for the summaries files of Solana contracts",
|
1472
1474
|
argparse_args={
|
1473
1475
|
'nargs': AttrUtil.ONE_OR_MORE_OCCURRENCES,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: certora-cli-alpha-master
|
3
|
-
Version:
|
3
|
+
Version: 20250105.18.32.206125
|
4
4
|
Summary: Runner for the Certora Prover
|
5
5
|
Home-page: https://pypi.org/project/certora-cli-alpha-master
|
6
6
|
Author: Certora
|
@@ -24,4 +24,4 @@ Requires-Dist: tomli
|
|
24
24
|
Requires-Dist: universalmutator
|
25
25
|
Requires-Dist: jinja2
|
26
26
|
|
27
|
-
Commit
|
27
|
+
Commit e09b48d. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -12,13 +12,13 @@ certora_cli/EVMVerifier/__init__.py,sha256=AJxj90KAGh1JqAsxKqDBTL2rFbqgtkhDfW_Xm
|
|
12
12
|
certora_cli/EVMVerifier/certoraBuild.py,sha256=SNpafLfTRInMrns6OuI9WUrJXP7Yt4Fv53pUnpI_j60,203520
|
13
13
|
certora_cli/EVMVerifier/certoraBuildCacheManager.py,sha256=ZSVCsdTkFFtawuNJ8VK3wJOb01Uyu5e8viPQ8wTziSQ,12563
|
14
14
|
certora_cli/EVMVerifier/certoraBuildDataClasses.py,sha256=4IhvOA_fg-ij5RM9RRlvDDoS7imfp4Zru-AgHhxcHc0,13314
|
15
|
-
certora_cli/EVMVerifier/certoraBuildRust.py,sha256=
|
15
|
+
certora_cli/EVMVerifier/certoraBuildRust.py,sha256=SzQyaY4X1z6bg9pyFrxNJmyiLi4yCbV-13hnJ69iuf4,3353
|
16
16
|
certora_cli/EVMVerifier/certoraCloudIO.py,sha256=B8d_DKnDiKH1nkQhzToVyKwVEfa88luFg42dAorgw44,53976
|
17
17
|
certora_cli/EVMVerifier/certoraCollectRunMetadata.py,sha256=selEf-p7UW8_70-AbPfa5659ki6WcGrBwfPkUQWKhFU,10322
|
18
18
|
certora_cli/EVMVerifier/certoraCompilerParameters.py,sha256=PDKW3K_lNeRNPHisW0e5hYtfu6unDRjJUop-yItGHO0,762
|
19
19
|
certora_cli/EVMVerifier/certoraConfigIO.py,sha256=zlXcSAXPXQEhCdOqbogNLgIRSURFQgArYjFKd3VMkfg,4693
|
20
20
|
certora_cli/EVMVerifier/certoraContext.py,sha256=52YMEYYm67F_AsDZoIFjgcR34gQQDTnlmhiH9VrLCYE,21649
|
21
|
-
certora_cli/EVMVerifier/certoraContextAttributes.py,sha256=
|
21
|
+
certora_cli/EVMVerifier/certoraContextAttributes.py,sha256=isgfD4OnD6XkaM-WKHrTUuQDK-W6r4TiltF6O6TsJOU,57019
|
22
22
|
certora_cli/EVMVerifier/certoraContextClass.py,sha256=qdHYmrzI4zeQaAaMnonw4C-h1PFrPEhI84trrgvxFj0,210
|
23
23
|
certora_cli/EVMVerifier/certoraContextValidator.py,sha256=_vS3CDY8cJRqxtujwiz7rwRFVgDVxNb40YgUU4t4BPM,37585
|
24
24
|
certora_cli/EVMVerifier/certoraContractFuncs.py,sha256=W3lAvKotGKK7ZGJLg4yYh0FzTwwSQJbZMpizyGaYXZo,6229
|
@@ -57,12 +57,12 @@ certora_cli/Shared/certoraAttrUtil.py,sha256=hUi1ye5kIAHGZqCR1YbXayn5-ToZi3WAa4M
|
|
57
57
|
certora_cli/Shared/certoraLogging.py,sha256=5Lx-XWKl7GnwnWi7KlwTLIfsEvUvCTZ8KeyfNyi_6RU,13323
|
58
58
|
certora_cli/Shared/certoraUtils.py,sha256=WmVX8Hz5wMZ7WI2JhYavAilH1kO3fwKLUBsf4hQ4b-o,53676
|
59
59
|
certora_cli/Shared/certoraValidateFuncs.py,sha256=qbN2h6MApnLucKvzfJ_dnBa135lLLTGE9Q7MlCBP3Fc,37204
|
60
|
-
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=
|
61
|
-
certora_jars/Typechecker.jar,sha256=
|
60
|
+
certora_jars/CERTORA-CLI-VERSION-METADATA.json,sha256=JuiY6GqJxWIylTNKUKrtEXNpBUpCnkBib0ANoNdUa68,170
|
61
|
+
certora_jars/Typechecker.jar,sha256=bljWMr6guU-L4gbmIGn8A65vkXwaufvdPwe1ctSMNUQ,16823265
|
62
62
|
certora_jars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
63
|
-
certora_cli_alpha_master-
|
64
|
-
certora_cli_alpha_master-
|
65
|
-
certora_cli_alpha_master-
|
66
|
-
certora_cli_alpha_master-
|
67
|
-
certora_cli_alpha_master-
|
68
|
-
certora_cli_alpha_master-
|
63
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/LICENSE,sha256=VeEBJLgfzZqyAUfjLoKUztf7KJBBUjtZ1ap99eQubOo,1065
|
64
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/METADATA,sha256=POmQdEBrI9GuJmDRd_bsQqc0n96THVQWCmMFDCryPv0,860
|
65
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/WHEEL,sha256=N3Zagyg8u7FcZiPCx4UnuNyRRYq7IQpu24eWYyuhGOQ,110
|
66
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/entry_points.txt,sha256=x2dyit80wAtF72k5CQj9F5lnWZEmP9ioseqvrEGWyFc,389
|
67
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/top_level.txt,sha256=8C77w3JLanY0-NW45vpJsjRssyCqVP-qmPiN9FjWiX4,38
|
68
|
+
certora_cli_alpha_master-20250105.18.32.206125.dist-info/RECORD,,
|
@@ -1 +1 @@
|
|
1
|
-
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "
|
1
|
+
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "e09b48d", "timestamp": "20250105.18.32.206125", "version": "20250105.18.32.206125+e09b48d"}
|
certora_jars/Typechecker.jar
CHANGED
Binary file
|
File without changes
|
File without changes
|
File without changes
|