[Forensics-changes] [yara] annotated tag v2.0.0-RC1 created (now c2b2262)

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:44:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a change to annotated tag v2.0.0-RC1
in repository yara.

        at  c2b2262   (tag)
   tagging  6a0a739190a9dc86caef2475da0d2c0ea577de0b (commit)
 tagged by  Victor M. Alvarez
        on  Tue Dec 10 17:17:56 2013 +0100

- Log -----------------------------------------------------------------

Mike Wiacek (7):
      Refactor regex matching so that it will be possible to use RE2 instead of PCRE.
      Formatting change.
      Fix segfault when compiling invalid regex with RE2.
      Run aclocal before autoreconf.
      RE2 defaults to assuming patterns are UTF-8 strings, this breaks alot
      Prevent malicious rules from causing memory corruption.
      Prevent some potential integer overflow conditions.

Shane Huntley (4):
      Minor memory leak and object access fixes.
      Improve hashing of regexes.
      Fix handling of TEXT_STRINGS that contain \x00.
      Ensure terminating null is copied for TEXT_STRING (fix for r160)

Victor M. Alvarez (264):
      Initial directory structure.
      Initial import
      Deleted unnecesary files
      Lots of changes for version 1.1
      Lots of improvements and fixes
      Bug fixes
      Fixed missing dir issue when generating source package (issue #2)
      Implemented global rules
      Added support for ascii and wide modifiers for the same string
      Fixed operator precedence bug
      Small performance improvement and fix bug introduced on r14
      Added support for alternatives in hex strings
      Added support for anonymous strings
      Lots of changes
      Implemented @ syntax for getting string offset
      Lots of changes for version 1.2
      Bug fixes
      Bug fix: access violation on xxcompare functions
      Bug fixes: heap underrun and memory leaks
      Changed malloc and free by HeapAlloc and HeapFree under Windows
      Bug fix: handle error when creating temp file
      Source code re-organization
      Implemented yy_compile_string. No more temporary files to compile rules from memory buffers
      libyara heavily modified to make it thread-safe and improve its interface
      Fixed bug introduced in previous commit
      Bug fix: uninitialized line number when compiling rules from memory buffer
      Tagging version 1.2.1
      Restoring trunk
      Implemented 'include' directive
      Bug fix: integer overflow
      Fix warnings when compiling in 64 bits
      Bug fix: Problem with single-line comments at the end of the file
      Bug fix: Double-free in parse_string function
      Implemented multi-source compilation in yara-python
      Fix some warnings in VC++
      Bug fix: Multi-source compilation did not handle global rules correctly
      Implement missing cases in require_exe_file and other minor fixes
      Implemented includes enable/disabling parameter in yara.compile
      Implemented metadata feature
      Check for includes circular references
      Bug fix: Incorrect typecast from pointer to integer
      Documentation updated to v1.3
      Implemented external variables
      Implemented match operator for external string variables
      Bug fix: Missing reference count increment at yara-python
      Implemented hash and compare functions in Match class (yara-python)
      Bug fix: yr_create_namespace calling strdup instead of yr_strdup
      Implemented contains operator for external string variables
      Add missing weight.c and weight.h
      Fix toolchain problems
      Fix toolchain problems
      Fix toolchain problems
      Fix toolchain problems
      Small speed optimization
      More speed optimizations
      String comparison implemented using SSE 4.2 intrinsics
      Added one-byte hashing to improve scanning speed
      Fix incorrect example in man page
      Implemented fast matching mode
      Changed "match" for "matches" in syntax
      Bug fix: yr_set_external_X didn't update type for existing variables
      Bump version to 1.4
      Update Visual Studio project
      Bug fix: namespaces not working with yara.compile and filesources
      Added string identifier to Matches.strings in yara-python
      Fix undeclared "Py_ssize_t" compilation error with Python2.4
      Functions renamed to avoid name conflict in c-icap-server YARA module
      Implemented process scanning and "for occurrences" statement
      Fixed minor problems with proc.c in Windows
      Fixed issue with reserved keyword "namespace" on C++ compilers
      Added support for ELF files
      Implemented the -l command line option
      Implemented callback abortion
      Implemented callback abortion in yara-python and fixed some problems with references counting.
      Improve build system (step 1)
      Improve build system (step 2)
      Improve build system (step 3)
      Improve build system (step 4)
      Implemented loop "for <quantifier> <var> in <set or range> : (<expression>)"
      Fix bug in string count operator evaluation (i.e: #string)
      Fix line-breaks and variable declarations to make it compile in Visual Studio
      Fix memory leak
      Fix bug in intXX and uintXX functions
      Bump version to 1.5
      Removed require_file and require_executable functions
      Fix bug in pcre_exec invocation
      Fix bug in uintXX and intXX functions
      Fix incorrect evaluation of operators "of", "for..of" and "for..in"
      Fix build under FreeBSD
      Implemented bitwise operations
      Fixed memory leak in bitwise operations and buffer overflow (issue 22)
      Fix issue 20, small speed improvement
      Windows build system migrated to Visual Studio 2008 and ready for 64 bits versions.
      Allow multi-line hex strings
      Allow multi-line hex strings
      Avoid warning: no newline at end of file (issue 27)
      yara-python migrated to Python 3.x
      Fix some integer checks in elf_rva_to_offset_32 (issue 16)
      Improved regular expression hashing (PCRE-only)
      Fixed some problems with yara-python under Python 3.x
      Fix bug in populate_hash_table
      More fixes to yara-python
      Implemented unit tests
      Fix Python 3.x compatibility issue and add some test cases
      Bump version to 1.6
      Remove libtool from source tree
      Changes in revision control
      Fix 'include' statement leaving open files (issue 31)
      Fix yara-python.c indentation
      Fix segfault when inspecting attributes of 'Rules' or 'Match' objects (issue 32)
      Syncronize lex.l and lex.c
      Bug fix: Integer overflow causing infinite loop in hex_match (issue 35)
      Faster rule compilation by using hash table for rule names lookup
      Improve bootstrap.sh
      Fix segmentation fault trying to close null file descriptor
      Fix reference counting bug in yara-python
      Shut up compiler warning
      Fix uninitialized variable
      Fixed incorrect error handling in map_file
      Fix memory leaks
      Fix file handle leak
      Fix bug introduced in r144
      Change to Apache 2.0 license
      Change to Apache 2.0 license
      Fix issue 51
      Fix issue 44
      Fix buffer overrun (issue 55)
      Implement modulus and bitwise xor operators (issue 54)
      Set correct precedence for modulus and bitwise xor operators
      Fix memory leak (reported by Steve Henderson)
      Fix issue 60
      Fix issue 39
      Fix issue 46
      Bug fix: Regular expressions not matching at the end of the file when compiled with RE2
      Bump version to 1.7
      Bump version to 1.7
      Fix issue 77
      Fix issue 76
      Migrate Windows build system to Visual Studio 2010
      Update change log and revision
      Bug fix: Lexer error while handling comments terminated in **/
      Include some tests for comments
      Clean up some string handling bugs, and fix a buffer overflow.
      Fix bug while parsing comments. Change in r169 introduced other problems.
      Show an error message for non-ascii characters in rules
      Fix stack overflow vulnerability
      Initial commit of version 2.0
      Update configure.ac
      Fix some problems and remove compilation warnings
      Delete unused files
      Multiple changes and bug fixes
      Fix bug causing segmentation fault
      Fix some issues matching hex strings
      Fix bug in yara-python
      Implemented process memory scanning
      Implemented external variable definition for already compiled rules
      Release the GIL in yara-python while executing time-consuming operations
      Fix bug causing expressions "str matches /whatever/" evaluating to true when str is an empty string
      Fix bug causing segmentation fault when _yr_compiler_compile_rules fails
      Fix bug when trying to destroy an arena without being created
      Fix error handling issues
      Harden yr_arena_load against corrupt files and document the arena module
      Homogenize function names, document code, and improve error handling
      Fix issues while compiling for Windows
      Fix warnings and other small issues
      Include stdint.h in lex
      Implemented warnings, fast scan mode, and list based nodes in Aho-Corasick automaton.
      Some code cleanup
      Fix buffer overrun in Aho-Corasick caused by not reserving enough memory for regexp atoms
      Fix bug in Aho-Corasick introduced in r201
      Improve error reporting in yara-python
      Increase stack size
      Add some tests for Aho-Corasick algorithm
      Improve Aho-Corasick automaton printing function
      Fix issue with backtrack values don't fitting in a int8_t
      Small speed optimization
      Fix compilation error in some gcc versions. Issue 88.
      Allow to specify a timeout in scanning functions
      Remove unused testing code
      Fix bug in yr_compiler_create
      Speed optimization by using arenas to store matching information instead of heap mallocs.
      Fix bug causing segmentation fault
      Fix bug in expressions 'for all <identifier> in (<expression>..<expression>)'
      Fix bug in offset (@) operator
      Implement nested loops
      Fix bug in hash tables
      Implement multithreading support
      Add missing files
      Fix multiple issues with multi-threading implementation in Windows.
      Implement regular expressions engine and many other changes
      Update Windows project
      Fix compiler warnings
      Fix compiler warnings
      Fix compiler warnings
      Implemented fullword in regular expressions
      Handle "invalid file" and "corrupt file" errors separately in yara-python
      Fix build system
      Fix issue 92
      Small speed optimization
      Improve error handling and fix memory leak
      Missing change from the previous commit
      Change "namespace" identifiers to "ns" to avoid conflicts with C++ keyword
      Add missing #include
      Fix syntax error handling in hex strings
      Remove PCRE dependencies in yara-python
      Implement our own version of elf.h to remove GPLed code
      Compile in C99 mode and remove warnings
      Compile in C99 mode and remove warnings
      Fix bug caused by calling yr_arena_current_address at the end of the current page
      Remove yr_arena_current_address function
      Fix a bug caused by noncontiguous regular expression code
      Multiple bug fixes and improvements
      Fix bug causing some wide strings not being detected
      Fix bug reported by @msuvajac and other issues relating to TSL finalization
      Fix bug with anchored regexps
      Implement case-insensitive regular expressions
      Fix issue with signed-unsigned comparison
      Implement fast matching algorithm for hex strings and some other improvements
      Fix warning in printf format string
      Improve _yr_scan_fast_hex_re_exec
      Fix buffer overflow issues in _yr_scan_fast_hex_re_exec
      Small optimization
      Add missing bound check and increase stack size
      Fix bug caused by namespace flag not being reset
      Rename structures to avoid conflict with other libraries
      Add new tests
      Fix issue with newline characters in regular expressions
      Fix bug in yara-python and add define WIN32 to build it in Windows
      Fix some issues while building in Windows
      Free regexp engine stacks when finalizing the thread
      Remove printf used for debugging
      Remove unused file force.cpp
      Remove REVISION file and fix configure.ac to work with automake 1.12
      Fix multiple warnings
      Rename RE_STACK for RE_FIBER_DATA and some readability improvements
      Remove unused field from RE_FIBER_DATA
      Fix regression issues
      Allow to disable warnings from command line
      Allow to disable warnings from command line in yarac
      New logo
      Remove some unused files
      Improve build system
      Increase MAX_FAST_HEX_RE_STACK
      Add new test case
      Implement fast matching mode
      Report regexp syntax errors with the correct line number
      Remove warnings
      Make tests.py compatible with Python 3
      Make tests.py compatible with Python 3
      Fix issues with yr_arena_load
      Remove PCRE dependencies in Windows project and other adjustments
      Remove unused variable
      Implement empty alternatives. Example: (abc|)
      Fix issue with anchors ^ and $ in regular expressions handled incorrectly
      More regexp test cases
      Improve dmalloc integration and fix some memory leaks
      Fix memory leak
      Fix bug introduced in previous commit. It was trying to free non heap allocated strings.
      Fix memory leak in yr_re_exec
      Call yr_finalize when exiting Python in yara-python
      Update man page
      Fix integer wrap-around bug causing segmentation fault
      Make return codes POSIX-compliant
      Update Windows project to include yarac

Victor Manuel Alvarez (10):
      Improve yr_re_execute with a non-recursive algorithm
      Compile with -Wall and remove some warnings
      Improvements and bug fixes in yr_process_get_memory contributed by Robin Keir
      Fix issue #45: libyara should never call exit()
      Set a more meaningful name to struct field
      Report error if back references are used in regexps
      Add support for case-insensitive regexp matching on external variables
      Add test cases for case-insensitive regexp matching on external variables
      Use dmalloc to debug heap issues
      Allow to specify the number of threads while scanning directories

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list