id: 1 unit: def display() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 104 LOC McCabe index: 7 number of parameters: 1 id: 2 unit: def attest_guest() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 90 LOC McCabe index: 11 number of parameters: 1 id: 3 unit: def _send_attestation_request() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 66 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: def attest_platform() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 58 LOC McCabe index: 12 number of parameters: 1 id: 5 unit: def get_ephemeral_key() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 50 LOC McCabe index: 2 number of parameters: 2 id: 6 unit: def deserialize_td_quotev4() file: cvm-attestation/deserialize_tdx_v4.py start line: 0 end line: 0 size: 45 LOC McCabe index: 2 number of parameters: 1 id: 7 unit: def attest() file: cvm-attestation/attest.py start line: 0 end line: 0 size: 42 LOC McCabe index: 1 number of parameters: 3 id: 8 unit: def deserialize_td_quotev5() file: cvm-attestation/deserialize_tdx_v5.py start line: 0 end line: 0 size: 42 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: def serialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 38 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: def deserialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 37 LOC McCabe index: 1 number of parameters: 2 id: 11 unit: def __init__() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 34 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: def print_td_quotev5() file: cvm-attestation/deserialize_tdx_v5.py start line: 0 end line: 0 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: def get_pcr_values() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 14 unit: def print_td_quotev4() file: cvm-attestation/deserialize_tdx_v4.py start line: 0 end line: 0 size: 27 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: def create_payload() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 25 LOC McCabe index: 7 number of parameters: 3 id: 16 unit: def get_hardware_evidence() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 17 unit: def _send_request_with_retries() file: cvm-attestation/src/ImdsClient.py start line: 0 end line: 0 size: 24 LOC McCabe index: 7 number of parameters: 10 id: 18 unit: def handle_hardware_report() file: cvm-attestation/read_report.py start line: 0 end line: 0 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 19 unit: def decrypt_with_ephemeral_key() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 5 id: 20 unit: def attest_platform() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 21 unit: def get_region_from_compute_metadata() file: cvm-attestation/src/ImdsClient.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 22 unit: def get_values() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 23 unit: def get_measurements() file: cvm-attestation/src/measurements.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: def write_to_nv_index() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 25 unit: def print_snp_platform_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 26 unit: def print_snp_guest_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: def print_tdx_guest_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 28 unit: def get_td_quote() file: cvm-attestation/src/ImdsClient.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: def __init__() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: def read_nv_index() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: def get_vcek_certificate() file: cvm-attestation/src/ImdsClient.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: def get_evidence() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: def get_attestation_endpoint() file: cvm-attestation/src/EndpointSelector.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: def print_tdx_platform_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: def read_public() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 36 unit: def cleanSlots() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 37 unit: def toJson() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 38 unit: def log_snp_report() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 39 unit: def __init__() file: cvm-attestation/src/Logger.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 40 unit: def _load_endpoints() file: cvm-attestation/src/EndpointSelector.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: def __init__() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 42 unit: def create_payload() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 13 LOC McCabe index: 6 number of parameters: 3 id: 43 unit: def read_report() file: cvm-attestation/read_report.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: def get_pcr_quote() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: def extract_hw_report() file: cvm-attestation/src/ReportParser.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 46 unit: def print_platform_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 47 unit: def get_hcl_report() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: def serialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: def deserialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: def __init__() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 51 unit: def __init__() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 6 id: 52 unit: def __init__() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 5 id: 53 unit: def get_pcr_select() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 54 unit: def serialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: def deserialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: def _get_endpoint() file: cvm-attestation/src/EndpointSelector.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 57 unit: def extract_runtimes_data() file: cvm-attestation/src/ReportParser.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: def print_platform_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 59 unit: def print_guest_claims() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: def get_os_info_values() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: def serialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: def deserialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: def __init__() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 64 unit: def get_os() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 65 unit: def get_evidence() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: def serialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: def deserialize() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: def __init__() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 7 id: 69 unit: def get_linux_os_info() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: def __init__() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 7 id: 71 unit: def __init__() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 72 unit: def format_data() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 73 unit: def extract_report_type() file: cvm-attestation/src/ReportParser.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 74 unit: def get_endpoint() file: cvm-attestation/attest.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 75 unit: def sha256_hash_update() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: def __init__() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 77 unit: def __init__() file: cvm-attestation/AttestationClient.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 78 unit: def base64url_encode_string() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: def base64url_decode() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: def __init__() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 4 LOC McCabe index: 4 number of parameters: 4 id: 81 unit: def base64_encode_string() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: def base64decode() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: def parse_linux_os_info() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: def __init__() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: def get_values() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 86 unit: def __init__() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 87 unit: def __init__() file: cvm-attestation/src/EndpointSelector.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: def attest_platform() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 89 unit: def __init__() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 90 unit: def __init__() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 91 unit: def validate() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: def parse_config_file() file: cvm-attestation/attest.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: def base64_encode() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def __init__() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 95 unit: def __init__() file: cvm-attestation/AttestationTypes.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 96 unit: def calculate_size() file: cvm-attestation/snp.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: def get_logger() file: cvm-attestation/src/Logger.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: def base64url_encode() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: def base64_encode() file: cvm-attestation/src/Encoder.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: def attest_guest() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: def attest_platform() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: def attest_guest() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 103 unit: def attest_guest() file: cvm-attestation/src/AttestationProvider.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: def __init__() file: cvm-attestation/src/ImdsClient.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: def validate() file: cvm-attestation/src/OsInfo.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: def validate() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: def get_evidence() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: def validate() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: def validate() file: cvm-attestation/src/Isolation.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: def __init__() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: def get_aik_cert() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: def get_aik_pub() file: cvm-attestation/tpm_wrapper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1