package bap-strings
Text utilities useful in Binary Analysis and Reverse Engineering
Install
Dune Dependency
Authors
Maintainers
Sources
v2.5.0.tar.gz
sha256=9c126781385d2fa9b8edab22e62b25c70bf2f99f6ec78abb7e5e36d63cfa4174
md5=5abd9b3628b43f797326034f31ca574f
doc/bap-strings/Bap_strings_scanner/index.html
Module Bap_strings_scanner
next ~is_stop ~read off
reads characters starting with the offset off
, using the read
function to map offsets to characters, until the is_stop
character occurs, or the read
function returns None
.
Postcondition: forall c
in result
, not (is_stop c)
val run :
?is_stop:(char -> bool) ->
read:(int -> char option) ->
int ->
(int * string) Core_kernel.Sequence.t
scan ~is_stop ~read off
applies next ~is_stop ~read
for all offsets that are bigger than off
until read off
is not None
. Returns a sequence of non-empty strings, paired with their corresponding offsets in data.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>