package yara

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type yrcompiler
type yrcptr = yrcompiler Ctypes.ptr
type yrmeta
type yrnamespace
type yrstring
type yrrule
type yrrules
type yara_meta = {
  1. identifier : string;
  2. typ : int;
}
type yara_namespace = {
  1. name : string;
}
type yara_string = {
  1. identifier : string;
  2. str : string;
}
type yara_rule = {
  1. identifier : string;
  2. tags : string;
}
val yara_init : unit -> unit Core.Or_error.t
val yara_deinit : unit -> unit Core.Or_error.t
val yara_add_string : yrcompiler Ctypes.structure Ctypes.ptr -> string -> string -> unit Core.Or_error.t
val yara_add_file : yrcompiler Ctypes.structure Ctypes.ptr -> string -> string -> unit Core.Or_error.t
val yara_scan_mem : yrrules Ctypes.structure Ctypes.ptr -> string -> (yara_rule -> unit) -> unit Core.Or_error.t
val yara_scan_file : yrrules Ctypes.structure Ctypes.ptr -> string -> (yara_rule -> unit) -> unit Core.Or_error.t