package binsec
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Semantic analysis of binary executables
Install
dune-project
Dependency
Authors
-
AAdel Djoudi
-
BBenjamin Farinier
-
CChakib Foulani
-
DDorian Lesbre
-
FFrédéric Recoules
-
GGuillaume Girol
-
JJosselin Feist
-
LLesly-Ann Daniel
-
MMahmudul Faisal Al Ameen
-
MManh-Dung Nguyen
-
MMathéo Vergnolle
-
MMathilde Ollivier
-
MMatthieu Lemerre
-
NNicolas Bellec
-
OOlivier Nicole
-
RRichard Bonichon
-
RRobin David
-
SSébastien Bardin
-
SSoline Ducousso
-
TTa Thanh Dinh
-
YYaëlle Vinçont
-
YYanis Sellami
Maintainers
Sources
binsec-0.11.0.tbz
sha256=4cf70a0367fef6f33ee3165f05255914513ea0539b94ddfef0bd46fc9b42fa8a
sha512=cd67a5b7617f661a7786bef0c828ee55307cef5260dfecbb700a618be795d81b1ac49fc1a18c4904fd2eb8a182dc862b0159093028651e78e7dc743f5babf9e3
doc/binsec.sse/Binsec_sse/Image/index.html
Module Binsec_sse.ImageSource
include module type of struct include Binsec_sse_loader.Image end
type buffer = Binsec_sse_loader.Image.buffer = | Zero| Data of {offset : int;len : int;value : Binsec_kernel.Loader_types.buffer;
}
crop_buffer ~lo ~hi buf creates a new buffer view containing the buf bytes from lo to hi.
val content_reader :
Binsec_kernel.Virtual_address.t ->
Z.t ->
?endianness:Binsec_kernel.Machine.endianness ->
buffer Binsec_kernel.Zmap.t ->
Binsec_kernel.Virtual_address.t Binsec_kernel.Reader.tcontent_reader addr size ~endianness content returns a new Reader of size bytes of content starting from addr.
Sequential accesses are optimized with a cache.
type symbol = Binsec_sse_loader.Image.symbol = {base : Binsec_kernel.Virtual_address.t;name : string;origin : string;
}type section = Binsec_sse_loader.Image.section = {base : Binsec_kernel.Virtual_address.t;name : string;origin : string;symbols : symbol Binsec_kernel.Zmap.t;
}type t = private Binsec_sse_loader.Image.t = {content : buffer Binsec_kernel.Zmap.t;(*set of initialized data
*)protection : protection Binsec_kernel.Zmap.t;(*set of mappings
*)symbols : (Z.t * string) list Binsec_kernel.Dba.Var.Tag.Attribute.Map.t Binsec_kernel.Basic_types.String.Map.t;(*set of symbol attributes
*)layout : section Binsec_kernel.Zmap.t;(*reverse memory paving
*)
}val load :
fs:(string -> Binsec_kernel.Loader_types.buffer) ->
string ->
Binsec_kernel.Loader.Img.t ->
tload ~fs filename img builds a process image for the file filename with the content, permission and symbols from the loader image img.
It uses the virtual file system fs to access extra file contents (e.g. for separated debug or coredump).
val layout_with_cache :
t ->
(Binsec_kernel.Virtual_address.t ->
section)
* (Binsec_kernel.Virtual_address.t ->
symbol) sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>