{"success":true,"data":{"ext":"olb","name":"OLE object library","description":"OLE Object Library (OLB) is a Microsoft file format used to store type libraries and object definitions for Component Object Model (COM) and OLE automation. It is primarily used by development tools and applications to expose interfaces, constants, and methods for programmatic access and interoperability. The format is a legacy Windows component and is generally safe, though files from untrusted sources should still be handled cautiously.","mime":[],"risk_level":"Safe","signatures":[{"hex":"4D 5A","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":[],"usage":{"python":"def is_olb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid OLB by magic bytes.\"\"\"\n    signature = bytes([0x4D, 0x5A])\n    with open(file_path, \"rb\") as f:\n        return f.read(2) == signature","node":"function isOLB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4D, 0x5A]);\n  return buffer.subarray(0, 2).equals(signature);\n}","go":"func IsOLB(data []byte) bool {\n    signature := []byte{0x4D, 0x5A}\n    if len(data) < 2 {\n        return false\n    }\n    return bytes.Equal(data[:2], signature)\n}"}}}