1 line
15 KiB
JSON
1 line
15 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "label": "ssl_match_hostname.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L1"}, {"id": "ssl_match_hostname_certificateerror", "label": "CertificateError", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L21"}, {"id": "valueerror", "label": "ValueError", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ssl_match_hostname_dnsname_match", "label": "_dnsname_match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L25"}, {"id": "ssl_match_hostname_to_unicode", "label": "_to_unicode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L79"}, {"id": "ssl_match_hostname_ipaddress_match", "label": "_ipaddress_match()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L86"}, {"id": "ssl_match_hostname_match_hostname", "label": "match_hostname()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L98"}, {"id": "ssl_match_hostname_rationale_1", "label": "The match_hostname() function from Python 3.3.3, essential when using SSL.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L1"}, {"id": "ssl_match_hostname_rationale_26", "label": "Matching according to RFC 6125, section 6.4.3 http://tools.ietf.org/html/rf", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L26"}, {"id": "ssl_match_hostname_rationale_87", "label": "Exact matching of IP addresses. RFC 6125 explicitly doesn't define an algor", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L87"}, {"id": "ssl_match_hostname_rationale_99", "label": "Verify that *cert* (in decoded format as returned by SSLSocket.getpeercert()", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L99"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ipaddress", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_certificateerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L21", "weight": 1.0}, {"source": "ssl_match_hostname_certificateerror", "target": "valueerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_dnsname_match", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_to_unicode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L79", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_ipaddress_match", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L86", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "target": "ssl_match_hostname_match_hostname", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L98", "weight": 1.0}, {"source": "ssl_match_hostname_dnsname_match", "target": "ssl_match_hostname_certificateerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L46", "weight": 1.0}, {"source": "ssl_match_hostname_ipaddress_match", "target": "ssl_match_hostname_to_unicode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L94", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "valueerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L107", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_to_unicode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L114", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_dnsname_match", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L131", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_ipaddress_match", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L135", "weight": 1.0}, {"source": "ssl_match_hostname_match_hostname", "target": "ssl_match_hostname_certificateerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L150", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pip_vendor_urllib3_util_ssl_match_hostname_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L1", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_26", "target": "ssl_match_hostname_dnsname_match", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L26", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_87", "target": "ssl_match_hostname_ipaddress_match", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L87", "weight": 1.0}, {"source": "ssl_match_hostname_rationale_99", "target": "ssl_match_hostname_match_hostname", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L99", "weight": 1.0}], "raw_calls": [{"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L36"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "count", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L40"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "repr", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L47"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L52"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "lower", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L52"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L60"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L61"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L61"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L66"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L66"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L69"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L69"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L69"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L73"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "escape", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L73"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "compile", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L75"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L75"}, {"caller_nid": "ssl_match_hostname_dnsname_match", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L76"}, {"caller_nid": "ssl_match_hostname_to_unicode", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L80"}, {"caller_nid": "ssl_match_hostname_to_unicode", "callee": "unicode", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L82"}, {"caller_nid": "ssl_match_hostname_ipaddress_match", "callee": "ip_address", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L94"}, {"caller_nid": "ssl_match_hostname_ipaddress_match", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L94"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "ip_address", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L114"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L128"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L133"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L137"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L141"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L148"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L149"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L152"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "map", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L152"}, {"caller_nid": "ssl_match_hostname_match_hostname", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/ssl_match_hostname.py", "source_location": "L154"}]} |