Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Bap_byteweight_signaturesProvides signatures storage
type error = [ | `Corrupted of stringSignature file is corrupted
*)| `No_signaturesSignature file is not found
*)| `No_entry of stringCorresponding entry not found
*)| `Sys_error of stringSystem error has occurred
*) ]Error conditions
val save :
?comp:string ->
mode:string ->
path:string ->
Bap.Std.arch ->
Regular.Std.bytes ->
(unit, error) Core_kernel.Result.tsave ?comp ~mode ~path arch data store signatures data in the database of signatures specified by the path parameter. The triple arch-comp-mode defines a key for the created entry. If an entry with the same name existed, then it would be overwritten with the new data. If the database, doesn't exist, then it will be created and the specified destination.
val load :
?comp:string ->
?path:string ->
mode:string ->
Bap.Std.arch ->
(Regular.Std.bytes, error) Core_kernel.Result.tload ?comp ?path ~mode arch finds a signature for the specified arch-comp-path triple. The path defaults to default_path.
val string_of_error : error -> stringa human readable representation of an error.