4 releases

0.2.0 Sep 30, 2023
0.1.2 Jul 11, 2022
0.1.1 Jun 2, 2022
0.1.0 Jun 2, 2022

#1323 in Database interfaces

Download history 34/week @ 2024-01-04 53/week @ 2024-01-11 45/week @ 2024-01-18 43/week @ 2024-01-25 42/week @ 2024-02-01 46/week @ 2024-02-08 60/week @ 2024-02-15 90/week @ 2024-02-22 100/week @ 2024-02-29 156/week @ 2024-03-07 116/week @ 2024-03-14 139/week @ 2024-03-21 99/week @ 2024-03-28 241/week @ 2024-04-04 196/week @ 2024-04-11 198/week @ 2024-04-18

741 downloads per month
Used in 5 crates (via libesedb)

LGPL-3.0-or-later

10MB
294K SLoC

C 243K SLoC // 0.1% comments M4 18K SLoC // 0.2% comments Visual Studio Project 15K SLoC Shell 10K SLoC // 0.2% comments Rust 5K SLoC // 0.0% comments Automake 2K SLoC // 0.0% comments Visual Studio Solution 718 SLoC Python 446 SLoC // 0.1% comments C++ 358 SLoC // 0.2% comments RPM Specfile 76 SLoC

Contains (autotools obfuscated code, 2MB) libesedb-20230824/configure, (obscure autoconf code, 9KB) libesedb-20230824/configure.ac

libesedb-sys

Repository Upstream Crate Page Documentation License

Rust -sys bindings to libyal/libesedb.

Building

  • Have a compiler installed (if you're using Rust, you have one).
  • (Optionally) LLVM for bindgen to regenerate the bindings.
  • Should use cargo build -vv for very verbose output to verify cc compiling.

Rebuilding Bindings

bindgen libesedb-20230824/include/libesedb.h -o src/bindings.rs -- -Ilibesedb-20230824/include -fparse-all-comments

Configuring Max Leaf-Pages

Note: the original value of 16 * 1024 has been increased to 32 * 1024 in order for a FileHistory Catalog*.edb of at least 330MB to load.

Via the command-line:

LIBESEDB_MAXIMUM_NUMBER_OF_LEAF_PAGES="32 * 1024" cargo build -vv

In your Cargo.toml:

[env]
LIBESEDB_MAXIMUM_NUMBER_OF_LEAF_PAGES = "32 * 1024"

Updating Bundled libesedb

Authors

libesedb
Copyright (C) 2009-2021, Joachim Metz <joachim.metz@gmail.com>

libesedb-sys
Copyright (C) 2022-2023, Oliver Lenehan ~sunsetkookaburra

License

Dependencies