5 Commits
Author SHA1 Message Date
Victor M. AlvarezandSimon Hardy-Francis cba6932759 Implement non-blocking API (#1428)
With this change the yr_scanner_scan_mem_blocks function can return ERROR_BLOCK_NOT_READY when the YR_MEMORY_BLOCK_ITERATOR that provides memory blocks to the function is not ready to return the next block. After this error the caller can retry the call to yr_scanner_scan_mem_blocks multiple times until the function succeeds or fails with some other error code.

Co-authored-by: Simon Hardy-Francis <[email protected]>
2020-12-24 10:46:09 +01:00
Victor M. Alvarez 0bce4bd74d Start using clang-format for formatting the code automatically. 2020-10-07 16:27:30 +02:00
Victor M. Alvarez 2376ca49fd Automate Bazel build with Travis CI (#1124) 2019-09-04 18:42:11 +02:00
Victor M. Alvarez 2da43bdd49 Call yr_initialize before running test cases. 2018-08-16 10:39:42 +02:00
Victor M. Alvarez cd3aab66ff Refactor _yr_atoms_extract_from_re_node.
This function was refactored from and converted from recursive to iterative, using a stack.
2018-08-10 15:26:50 +02:00