{"success":true,"data":{"ext":"sym","name":"SYM","description":"SYM is a legacy symbol file format associated with Harvard Graphics 2.x and certain Microsoft Windows SDK tools. It was used to store reusable graphic symbols for inserting into charts, diagrams, and other desktop publishing or presentation documents. The format is largely obsolete and is generally safe to open, although support may be limited in modern software and files from untrusted sources should still be handled with standard caution.","mime":[],"risk_level":"Safe","signatures":[{"hex":"53 6D 62 6C","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_sym(file_path: str) -> bool:\n    \"\"\"Check if file is a valid SYM by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x6D, 0x62, 0x6C])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isSYM(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x6D, 0x62, 0x6C]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsSYM(data []byte) bool {\n    signature := []byte{0x53, 0x6D, 0x62, 0x6C}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}