{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "label": "rdns.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L1"}, {"id": "rdns_reversednssetting", "label": "ReverseDnsSetting", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L29"}, {"id": "object", "label": "object", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "rdns_get_hostname_by_addr", "label": "get_hostname_by_addr()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L39"}, {"id": "rdns_is_ip_addr", "label": "is_ip_addr()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L54"}, {"id": "rdns_rationale_1", "label": "Utilities and constants related to reverse dns lookup", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L1"}, {"id": "rdns_rationale_40", "label": "Resolve the hostname for an ip address. If success is required, raise an excepti", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L40"}, {"id": "rdns_rationale_55", "label": "Returns True if an address is an ipv4 address or an ipv6 address based on format", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L55"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "target": "socket", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "target": "rdns_reversednssetting", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L29", "weight": 1.0}, {"source": "rdns_reversednssetting", "target": "object", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "target": "rdns_get_hostname_by_addr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L39", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "target": "rdns_is_ip_addr", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L54", "weight": 1.0}, {"source": "rdns_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_ldap3_core_rdns_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L1", "weight": 1.0}, {"source": "rdns_rationale_40", "target": "rdns_get_hostname_by_addr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L40", "weight": 1.0}, {"source": "rdns_rationale_55", "target": "rdns_is_ip_addr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L55", "weight": 1.0}], "raw_calls": [{"caller_nid": "rdns_get_hostname_by_addr", "callee": "gethostbyaddr", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L46"}, {"caller_nid": "rdns_is_ip_addr", "callee": "inet_pton", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L58"}, {"caller_nid": "rdns_is_ip_addr", "callee": "any", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L61"}, {"caller_nid": "rdns_is_ip_addr", "callee": "isalpha", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L61"}, {"caller_nid": "rdns_is_ip_addr", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/ldap3/core/rdns.py", "source_location": "L61"}]}