anssi-fr / binacle Goto Github PK
View Code? Open in Web Editor NEWFull-bin indexation of binary files
License: Other
Full-bin indexation of binary files
License: Other
Hi,
I'm trying to build Binacle, but it fails:
cargo build --release --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
failed to parse registry's information for: serde_derive
Caused by:
the given version requirement is invalid
My system :
apt-get install cargo
Thanks for your help :)
It would be nice if there was a --exact / --verify option to filter false positives
Hi,
I try to install binacle and I've this error at compilation.
error[E0523]: found two different crates with name std
that are not distinguished by differing -C metadata
. This will result in symbol conflicts between the two.
--> /home/slarinier/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.9/src/lib.rs:33:1
|
33 | extern crate proc_macro;
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: Could not compile serde_derive
.
rustc 1.16.0
Have you got a work arround ?
Thank for your feed back
I asked binacle to add an entire directory (120 samples) but I don't think it's working. Looks like it is only adding one sample. And the database is suspiciously small.
I created my database with binacle -c /collections/sampledb map 30000000000 6 28
.
Then, I put several binary samples in /tmp/binacle-tmp
:
$ ls -l /tmp/binacle-tmp/ | head
total 261052
-rw-r--r-- 1 axelle axelle 861912 Jun 13 12:27 classes.dex
-rw-r--r-- 1 axelle axelle 5463104 Jun 13 12:29 classes.dex.1
-rw-r--r-- 1 axelle axelle 3238196 Jun 13 12:29 classes.dex.10
-rw-r--r-- 1 axelle axelle 3934256 Jun 13 12:29 classes.dex.100
-rw-r--r-- 1 axelle axelle 3806456 Jun 13 12:29 classes.dex.101
-rw-r--r-- 1 axelle axelle 796380 Jun 13 12:29 classes.dex.102
-rw-r--r-- 1 axelle axelle 818452 Jun 13 12:29 classes.dex.103
-rw-r--r-- 1 axelle axelle 792500 Jun 13 12:29 classes.dex.104
-rw-r--r-- 1 axelle axelle 5941540 Jun 13 12:29 classes.dex.105
$ ls -l /tmp/binacle-tmp/ | wc -l
120
Then, I added them to binacle's database:
$ ~/softs/Binacle/target/release/binacle /collections/sampledb --rec /tmp/binacle-tmp
Inserting file 100 (size 1040572) "/tmp/binacle-tmp/classes.dex.57"
Isn't it strange that it tells me it inserts file 100
(when I have 120), and only mentions classes.dex.57
?
I checked the size of the database. It's too small to be real...
$ ls -lh /collections/sampledb
-rw-r--r-- 1 axelle axelle 125 Jun 13 12:34 /collections/sampledb
Your demo is on Windows. Are you sure this works over Linux?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.