Rizin
unix-like reverse engineering framework and cli tools
|
sdb is a simple string key/value database based on djb's cdb disk storage and supports arrays introspection.
pancake panca ke@n opcod e.or g
SDB requires Meson and Ninja buildsystems to be built:
I have modified cdb code a little to create smaller databases and be memory leak free in order to use it from a library.
The sdb's cdb database format is 10% smaller than the original one. This is because keylen and valuelen are encoded in 4 bytes: 1 for the key length and 3 for the value length.
In a test case, a 4.3MB cdb database takes only 3.9MB after this file format change.
Let's create a database!
Using arrays (>=0.6):
Using the commandline without any disk database:
Remove the database