certora-cli-alpha-master 20241230.22.32.888836__tar.gz → 20250102.17.29.509991__tar.gz
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_alpha_master-20241230.22.32.888836/certora_cli_alpha_master.egg-info → certora_cli_alpha_master-20250102.17.29.509991}/PKG-INFO +2 -2
- certora_cli_alpha_master-20250102.17.29.509991/README.md +1 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraBuildRust.py +13 -6
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraCloudIO.py +14 -5
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraContextAttributes.py +8 -4
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraParseBuildScript.py +3 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991/certora_cli_alpha_master.egg-info}/PKG-INFO +2 -2
- certora_cli_alpha_master-20250102.17.29.509991/certora_jars/CERTORA-CLI-VERSION-METADATA.json +1 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_jars/Typechecker.jar +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/setup.py +2 -2
- certora_cli_alpha_master-20241230.22.32.888836/README.md +0 -1
- certora_cli_alpha_master-20241230.22.32.888836/certora_jars/CERTORA-CLI-VERSION-METADATA.json +0 -1
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/LICENSE +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/MANIFEST.in +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_bins/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollector.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollectorFactory.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollectorSol.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollectorSolBased.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollectorVy.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/CompilerCollectorYul.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/Compiler/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraBuild.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraBuildCacheManager.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraBuildDataClasses.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraCollectRunMetadata.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraCompilerParameters.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraConfigIO.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraContext.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraContextClass.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraContextValidator.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraContractFuncs.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraExtensionInfo.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraJobList.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraMiniSpecParser.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraNodeFilters.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraSourceFinders.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraType.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EVMVerifier/certoraVerifyGenerator.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/Eq_default.conf +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/Eq_mc_no_out_template.spec +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/Eq_mc_template.spec +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/Eq_sanity.conf +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/Eq_template.spec +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/equivCheck.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/EquivalenceCheck/sanity.spec +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/mutateApp.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/mutateAttributes.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/mutateConstants.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/mutateUtil.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Mutate/mutateValidate.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/ExpectedComparator.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/certoraAttrUtil.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/certoraLogging.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/certoraUtils.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/Shared/certoraValidateFuncs.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraEVMProver.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraEqCheck.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraMutate.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraRun.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraSolanaProver.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/certoraSorobanProver.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli/rustMutator.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli_alpha_master.egg-info/SOURCES.txt +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli_alpha_master.egg-info/dependency_links.txt +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli_alpha_master.egg-info/entry_points.txt +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli_alpha_master.egg-info/requires.txt +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_cli_alpha_master.egg-info/top_level.txt +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/certora_jars/__init__.py +0 -0
- {certora_cli_alpha_master-20241230.22.32.888836 → certora_cli_alpha_master-20250102.17.29.509991}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: certora-cli-alpha-master
|
3
|
-
Version:
|
3
|
+
Version: 20250102.17.29.509991
|
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 72e434f. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -0,0 +1 @@
|
|
1
|
+
Commit 72e434f. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import glob
|
2
|
+
import os
|
2
3
|
import shutil
|
3
4
|
from pathlib import Path
|
4
5
|
from typing import Set
|
@@ -60,10 +61,16 @@ def copy_files_to_build_dir(context: CertoraContext, root_directory: Path) -> No
|
|
60
61
|
rust_executable = root_directory / context.rust_executables
|
61
62
|
shutil.copyfile(rust_executable, Util.get_build_dir() / rust_executable.name)
|
62
63
|
|
63
|
-
|
64
|
-
|
65
|
-
shutil.copy(solana_inlining, Util.get_build_dir() / solana_inlining.name)
|
64
|
+
additional_files = (getattr(context, 'solana_inlining', None) or []) + \
|
65
|
+
(getattr(context, 'solana_summaries', None) or [])
|
66
66
|
|
67
|
-
|
68
|
-
|
69
|
-
shutil.copy(
|
67
|
+
for file in additional_files:
|
68
|
+
file_path = Path(file).resolve()
|
69
|
+
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
|
+
|
73
|
+
if rust_logs := getattr(context, 'rust_logs_stdout', None):
|
74
|
+
shutil.copy(Path(rust_logs), Util.get_build_dir() / Path(rust_logs).name)
|
75
|
+
if rust_logs := getattr(context, 'rust_logs_stderr', None):
|
76
|
+
shutil.copy(Path(rust_logs), Util.get_build_dir() / Path(rust_logs).name)
|
@@ -749,11 +749,20 @@ class CloudVerification:
|
|
749
749
|
|
750
750
|
files_list.append(Util.get_build_dir() / Path(self.context.rust_executables).name)
|
751
751
|
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
752
|
+
# Create a .RustExecution file to classify zipInput as a rust source code
|
753
|
+
rust_execution_file = Util.get_build_dir() / ".RustExecution"
|
754
|
+
rust_execution_file.touch(exist_ok=True)
|
755
|
+
files_list.append(rust_execution_file)
|
756
|
+
|
757
|
+
additional_files = (getattr(self.context, 'solana_inlining', None) or []) + \
|
758
|
+
(getattr(self.context, 'solana_summaries', None) or [])
|
759
|
+
for file in additional_files:
|
760
|
+
files_list.append(Util.get_build_dir() / Path(file).name)
|
761
|
+
|
762
|
+
if attr_file := getattr(self.context, 'rust_logs_stdout', None):
|
763
|
+
files_list.append(Util.get_build_dir() / Path(attr_file).name)
|
764
|
+
if attr_file := getattr(self.context, 'rust_logs_stderr', None):
|
765
|
+
files_list.append(Util.get_build_dir() / Path(attr_file).name)
|
757
766
|
|
758
767
|
result = compress_files(self.ZipFilePath, *files_list,
|
759
768
|
short_output=Ctx.is_minimal_cli_output(self.context))
|
@@ -1455,9 +1455,11 @@ class SolanaProverAttributes(CommonAttributes, InternalUseAttributes, BackendAtt
|
|
1455
1455
|
|
1456
1456
|
SOLANA_INLINING = AttrUtil.AttributeDefinition(
|
1457
1457
|
attr_validation_func=Vf.validate_readable_file,
|
1458
|
-
|
1458
|
+
arg_type=AttrUtil.AttrArgType.LIST,
|
1459
|
+
help_msg="a list of paths for the inlining files of Solana contracts",
|
1459
1460
|
argparse_args={
|
1460
|
-
'
|
1461
|
+
'nargs': AttrUtil.ONE_OR_MORE_OCCURRENCES,
|
1462
|
+
'action': AttrUtil.APPEND
|
1461
1463
|
},
|
1462
1464
|
affects_build_cache_key=False,
|
1463
1465
|
disables_build_cache=False
|
@@ -1465,9 +1467,11 @@ class SolanaProverAttributes(CommonAttributes, InternalUseAttributes, BackendAtt
|
|
1465
1467
|
|
1466
1468
|
SOLANA_SUMMARIES = AttrUtil.AttributeDefinition(
|
1467
1469
|
attr_validation_func=Vf.validate_readable_file,
|
1468
|
-
|
1470
|
+
arg_type=AttrUtil.AttrArgType.LIST,
|
1471
|
+
help_msg="a list of paths for the summaries files of Solana contracts",
|
1469
1472
|
argparse_args={
|
1470
|
-
'
|
1473
|
+
'nargs': AttrUtil.ONE_OR_MORE_OCCURRENCES,
|
1474
|
+
'action': AttrUtil.APPEND
|
1471
1475
|
},
|
1472
1476
|
affects_build_cache_key=False,
|
1473
1477
|
disables_build_cache=False
|
@@ -41,6 +41,9 @@ def run_script_and_parse_json(context: CertoraContext) -> None:
|
|
41
41
|
context.rust_project_directory = json_obj.get("project_directory")
|
42
42
|
context.rust_sources = json_obj.get("sources")
|
43
43
|
context.rust_executables = json_obj.get("executables")
|
44
|
+
if json_obj.get("log") is not None:
|
45
|
+
context.rust_logs_stdout = json_obj.get("log").get('stdout')
|
46
|
+
context.rust_logs_stderr = json_obj.get("log").get('stderr')
|
44
47
|
|
45
48
|
if context.test == str(Util.TestValue.AFTER_BUILD_RUST):
|
46
49
|
raise Util.TestResultsReady(None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: certora-cli-alpha-master
|
3
|
-
Version:
|
3
|
+
Version: 20250102.17.29.509991
|
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 72e434f. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "72e434f", "timestamp": "20250102.17.29.509991", "version": "20250102.17.29.509991+72e434f"}
|
Binary file
|
@@ -3,11 +3,11 @@ import setuptools
|
|
3
3
|
|
4
4
|
setuptools.setup(
|
5
5
|
name="certora-cli-alpha-master",
|
6
|
-
version="
|
6
|
+
version="20250102.17.29.509991",
|
7
7
|
author="Certora",
|
8
8
|
author_email="support@certora.com",
|
9
9
|
description="Runner for the Certora Prover",
|
10
|
-
long_description="Commit
|
10
|
+
long_description="Commit 72e434f. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.",
|
11
11
|
long_description_content_type="text/markdown",
|
12
12
|
url="https://pypi.org/project/certora-cli-alpha-master",
|
13
13
|
packages=setuptools.find_packages(),
|
@@ -1 +0,0 @@
|
|
1
|
-
Commit f3cb489. Build and Run scripts for executing the Certora Prover on Solidity smart contracts.
|
certora_cli_alpha_master-20241230.22.32.888836/certora_jars/CERTORA-CLI-VERSION-METADATA.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"name": "certora-cli-alpha-master", "tag": "", "branch": "master", "commit": "f3cb489", "timestamp": "20241230.22.32.888836", "version": "20241230.22.32.888836+f3cb489"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|