Commit Graph

103 Commits (4b5130d50af9698a97800816f88614171220fe6f)

Author SHA1 Message Date
Micah Snyder 4b5130d50a
Tests: remove dead code 3 months ago
Micah Snyder 45c6938be8 Remove libbz2 dead code 1 year ago
Micah Snyder 71ff5c579c Remove libxml2 dead code 1 year ago
RainRat 143d23c326
Fix typos and remove duplicate #include 1 year ago
Micah Snyder e48dfad49a Windows: Fix C/Rust FFI compat issue + Windows compile warnings 1 year ago
Micah Snyder 902623972d Remove max-allocation limits where not required 1 year ago
Micah Snyder 8e04c25fec Rename clamav memory allocation functions 1 year ago
Micah Snyder 6d6e04ddf8 Optimization: replace limited allocation calls 1 year ago
Micah Snyder e389c3edac Tests: add 3 test case for OneNote 2007, 2010, and a recent webapp export 1 year ago
RainRat caf324e544
Fix typos (no functional changes) 2 years ago
Micah Snyder a08377f9cf Coverity-344513: Fix use-after-free in unit test error condition. 2 years ago
Micah Snyder 0bd2ae26bc Scanners: Remove allmatch checks + significant code cleanup 3 years ago
Micah Snyder 8340e55660 Tests: unit tests for cl_load(), cl_cvdverify(), cl_cvdunpack() 3 years ago
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 3 years ago
Micah Snyder 0354482e16 Fix issues reading from uncompressed nested files 4 years ago
Micah Snyder 4a9cff9214 CMake: support Xcode builds 4 years ago
Andy Ragusa c4af06c317 Fix ENABLE_UNRAR=off build 4 years ago
Micah Snyder 201e1b12a7 XOR test files; clean up tests directory 4 years ago
Micah Snyder afbf0b6180 Fix Windows text file EOL conversion issues 4 years ago
Micah Snyder 2552cfd0d1 CMake: Add CTest support to match Autotools checks 4 years ago
Micah Snyder e4e3149368 Fix fmap-duplicate performance issue 4 years ago
Micah Snyder (micasnyd) f2787f77d1 Remove 'v' typo from unit test source 5 years ago
Micah Snyder (micasnyd) 9e20cdf6ea Add CMake build tooling 5 years ago
Micah Snyder 07a66adc75 Fix bug added in previous patch, fixup unit tests to use newly added sanitized_basename parameter. 5 years ago
Micah Snyder (micasnyd) 8db5fcae6f Add unit tests for conv to UTF-8 5 years ago
Micah Snyder 50455664a7 libclamav: Fix fmap leak in bytecode runtime 5 years ago
Micah Snyder (micasnyd) 485d8dec67 Check test support for check 0.13 5 years ago
Micah Snyder ee40795fe2 Converted mpool calls to macros when USE_MPOOL is defined to clearly differentiate between function and macro behavior. 6 years ago
Micah Snyder cef54eaf8f Freshclam refresh. This update makes libcurl a hard requirement for ClamAV. 6 years ago
Micah Snyder 155eaaad8b bb12284 - Fix to prevent path traversal when using cli_genfname() to generate filenames that may retain path and filename information. Changed scanrar so that it will no longer retain path information for extracted files. 6 years ago
Micah Snyder 72fd33c8b2 clang-format'd using new .clang-format rules. 6 years ago
Micah Snyder d39cb6581f Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames. 7 years ago
Micah Snyder d7979d4ff7 Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files. 7 years ago
Steven Morgan 1f1bf36b8e Add 'virus found' callback. Refactor scan-all API. 10 years ago
Kevin Lin c2b36ddd95 bb#11355 - added messages to unit-test log about 'T' env var 10 years ago
Kevin Lin 11bdd8a7c6 make check: added env check 'T' to set timeout 10 years ago
Shawn Webb 849cdc78c9 Clean up the XML parser in the unit tests 11 years ago
Shawn Webb 60d8d2c352 Move all the crypto API to clamav.h 11 years ago
Shawn Webb f9afc3092f Cleanup OpenSSL on program exit 11 years ago
Kevin Lin f4f331ae26 unit_tests: fixed testing involving optional features: unrar. bzip2, and xml 11 years ago
Steven Morgan 97fd85d1f3 bz#10534: add patch from Scott Kitterman/Sebastian Andrzej Siewior for make check unit testing when unrar is disabled. Rework for 0.98.2. 11 years ago
Shawn Webb da6e06dd68 Provide further abstractions to the OpenSSL integration work 11 years ago
Shawn Webb f077c6174f Fix some race conditions. Fix some memory leaks. 11 years ago
Shawn Webb b2e7c931d0 Use OpenSSL for hashing. 11 years ago
Steven Morgan b02190b40c Dynamic fpu endian detection for remaining unit tests and removal of fpu_words_bigendian configuration option and artifacts. 12 years ago
Steven Morgan 04ad685477 Fixes for unit tests when autoit ea06 unavailable 12 years ago
Steven Morgan a393d99922 convert unit test check_clamav to runtime fpu endian detection. 12 years ago
Shawn Webb 0f1e9fa0b0 Fix buildbot 12 years ago
Shawn Webb f0f3fe69b8 bb#9174 - Skip scanning bz2 files in unit tests if bz2 support is disabled 12 years ago
David Raynor 5e4d96b814 bb#6038: fix compile warning in unit test code due to type mismatch 13 years ago