1use super::MOVE_MAGIC; 2 3/// Validate Move bytecode without full parsing 4pub fn validate_move_bytecode(bytes: &[u8]) -> bool { 5 // Check magic bytes 6 if bytes.len() < 4 { 7 return false; 8 } 9 // Move module magic: 0xa1, 0x1c, 0xeb, 0x0b 10 bytes[0..4] == MOVE_MAGIC 11}