Server IP : 173.249.157.85 / Your IP : 13.59.206.196 Web Server : Apache System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : econtech ( 1005) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/ocaml/compiler-libs/ |
Upload File : |
(**************************************************************************) (* *) (* OCaml *) (* *) (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *) (* *) (* Copyright 2000 Institut National de Recherche en Informatique et *) (* en Automatique. *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the GNU Lesser General Public License version 2.1, with the *) (* special exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) (* Handling of sections in bytecode executable files *) (** Recording sections written to a bytecode executable file *) val init_record: out_channel -> unit (* Start recording sections from the current position in out_channel *) val record: out_channel -> string -> unit (* Record the current position in the out_channel as the end of the section with the given name *) val write_toc_and_trailer: out_channel -> unit (* Write the table of contents and the standard trailer for bytecode executable files *) (** Reading sections from a bytecode executable file *) val read_toc: in_channel -> unit (* Read the table of sections from a bytecode executable *) exception Bad_magic_number (* Raised by [read_toc] if magic number doesn't match *) val toc: unit -> (string * int) list (* Return the current table of contents as a list of (section name, section length) pairs. *) val seek_section: in_channel -> string -> int (* Position the input channel at the beginning of the section named "name", and return the length of that section. Raise Not_found if no such section exists. *) val read_section_string: in_channel -> string -> string (* Return the contents of a section, as a string *) val read_section_struct: in_channel -> string -> 'a (* Return the contents of a section, as marshalled data *) val pos_first_section: in_channel -> int (* Return the position of the beginning of the first section *) val reset: unit -> unit