1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_mailstore_spf_go", "label": "spf.go", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L1"}, {"id": "$graphify-root$_internal_mailstore_spf_checkspf", "label": "CheckSPF()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L15"}, {"id": "$graphify-root$_internal_mailstore_spf_domainof", "label": "domainOf()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L31"}, {"id": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "label": "lookupSPFRecord()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L39"}, {"id": "$graphify-root$_internal_mailstore_spf_evalspf", "label": "evalSPF()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L53"}, {"id": "ip", "label": "IP", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/internal/mailstore/spf.go"}, {"id": "$graphify-root$_internal_mailstore_spf_matchip4", "label": "matchIP4()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L95"}, {"id": "$graphify-root$_internal_mailstore_spf_matcha", "label": "matchA()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L106"}, {"id": "$graphify-root$_internal_mailstore_spf_matchmx", "label": "matchMX()", "file_type": "code", "source_file": "internal/mailstore/spf.go", "source_location": "L119"}], "edges": [{"source": "$graphify-root$_internal_mailstore_spf_go", "target": "go_pkg_context", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "go_pkg_net", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_checkspf", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_domainof", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L39", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_evalspf", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_evalspf", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L53", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_matchip4", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L95", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_matchip4", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L95", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_matcha", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L106", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_matcha", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L106", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_mailstore_spf_go", "target": "$graphify-root$_internal_mailstore_spf_matchmx", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L119", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_matchmx", "target": "ip", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L119", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_internal_mailstore_spf_checkspf", "target": "$graphify-root$_internal_mailstore_spf_domainof", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_checkspf", "target": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_checkspf", "target": "$graphify-root$_internal_mailstore_spf_evalspf", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_evalspf", "target": "$graphify-root$_internal_mailstore_spf_matchip4", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L66", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_evalspf", "target": "$graphify-root$_internal_mailstore_spf_matcha", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L70", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_evalspf", "target": "$graphify-root$_internal_mailstore_spf_matchmx", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_evalspf", "target": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L86", "weight": 1.0}, {"source": "$graphify-root$_internal_mailstore_spf_matchmx", "target": "$graphify-root$_internal_mailstore_spf_matcha", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/mailstore/spf.go", "source_location": "L125", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_mailstore_spf_checkspf", "callee": "ParseIP", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L20"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_domainof", "callee": "LastIndex", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L32"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_domainof", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L36"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "callee": "LookupTXT", "is_member_call": true, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L40"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "callee": "Background", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L40"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L45"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_lookupspfrecord", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L45"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "Fields", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L54"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "byte", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L56"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "ContainsRune", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L58"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "rune", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L58"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L65"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L73"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L81"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "HasPrefix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L85"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_evalspf", "callee": "evalSPF", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L87"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matchip4", "callee": "Contains", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L96"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matchip4", "callee": "ParseCIDR", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L99"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matchip4", "callee": "Contains", "is_member_call": true, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L103"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matcha", "callee": "LookupIP", "is_member_call": true, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L107"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matcha", "callee": "Background", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L107"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matcha", "callee": "Equal", "is_member_call": true, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L112"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matchmx", "callee": "LookupMX", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L120"}, {"caller_nid": "$graphify-root$_internal_mailstore_spf_matchmx", "callee": "TrimSuffix", "is_member_call": false, "language": "go", "source_file": "internal/mailstore/spf.go", "source_location": "L125"}]} |