Skip to content

How to develop

MatejKastak edited this page Feb 21, 2023 · 3 revisions
# Clone
git clone https://github.com/avast/yari --recursive

# Compile YARA
cd yari/yari-sys/yara
./bootstrap.sh && CFLAGS="-fPIC" ./configure --enable-debug --disable-shared --enable-static --enable-cuckoo --enable-magic --enable-dotnet --with-crypto && make clean && make

# Build and test
cd ../..
cargo test

# Run interactive cli
cargo run -p yari-cli
# I usually just test the cli using `time.now()` eval
>> time.now()
Integer(1676993435)
Clone this wiki locally