zdiff

Results 10 comments of zdiff

Do you think it would benefit this project to allow users to choose the binary file detection method: MIME sniffing standard or the looser Linux file standard?

https://github.com/uutils/coreutils/compare/0.1.0...0.2.0 There were changes made to `.cargo/config.toml`: > libstdbuf must be a shared library, so musl libc can't be linked statically Building without the new `rustflags` and without the `stdbuf`...

> The `ReadFrom` not only loads the rules from the given reader, it also creates the Aho-Corasick automaton and produces the native code for the current platform. The time is...

It appears as though my `WASM module build time` is much larger than yours for both commands ```shell RUST_LOG=info ./target/release/yr compile big_rule.yar -o big_rule.yarc ``` ```shell [2024-09-25T21:20:23Z INFO yara_x::compiler] WASM...

I'm using WSL (Ubuntu 22.04 LTS). I allocated 12 GB of RAM and 4 cores of my i7-9750H to WSL

I also tried it on a system running Arch Linux natively with 8 GB of RAM and an i5-4670K (I know it's old) and had similar results as my WSL...

I built YARA-X with Rust 1.80 and I can confirm that my scan times have drastically decreased. Should I edit this issue to focus on the compile and scan times...

I saw a large decrease in scan times when building with `cargo build --release --features="logging yara-x/native-code-serialization`: ```shell RUST_LOG=info ./target/release/yr scan -C big_rule.yarc README.md ``` ```shell [2024-09-27T13:09:05Z INFO yara_x::compiler::rules] Deserialization time:...

> superseded by #1015 Updated PR to reflect https://github.com/ChrisTitusTech/linutil/pull/935#issuecomment-2468835928

Does compiling the plaintext rule files accomplish this?