Victor M. Alvarez
6dcb6f61fe
Optimize generation of Aho-Corasick automaton. ( #873 )
...
This commit speeds up the generation of the Aho-Corasick automaton and changes the type of each item in the automaton transition table from uint64_t to uin32_t. This also speeds-up scanning because the more compact improves the CPU cache usage.
2018-05-13 18:55:51 +02:00
Victor M. Alvarez
6c3900670a
Improve rules profiling ( #829 )
...
* Improve rules profiling. The most relevant changes are:
* Stop using time() and difftime() for measuring time. Use yr_stopwatch_elapsed_ns instead.
* clock_ticks field in YR_RULE and YR_STRING structures has been renamed to time_cost.
* When the time_cost for some YR_STRING structure is incremented, it's incremented for its associated YR_RULE structure too. Iterating over the YR_STRING structures is not necessary for computing the total cost for some YR_STRING.
* A time_cost field was added to the YR_RULES structure. The ratio between YR_RULES structure's time_cost and YR_RULE structure's time_cost offers a better measure of how costly a rule is.
2018-02-16 16:59:53 +01:00
Victor M. Alvarez
358c3deab9
Add dex module to Visual Studio project.
2018-02-07 11:11:23 +01:00
Victor M. Alvarez
be0fc3f52f
Implement scanner API.
...
A new set of functions yr_scanner_* has been added to the API. The purpose of these functions is providing a way for using the same YR_RULES object with different sets of values for external variables. With the existing yr_rules_scan_* functions all clients sharing a YR_RULES object were forced to use the same set of values for externals variables, because the external variables were associated to the YR_RULES object. With the new API each client can create a separate YR_SCANNER to be used with the same YR_RULES object. Each YR_SCANNER can have its own set of external variables. The existing API keeps working as usual.
2018-01-31 17:32:08 +01:00
mbandzi
0c57f0bd66
Mach-O file format support ( #617 )
...
Add module for parsing Mach-O files.
2017-11-21 13:03:22 +01:00
Victor M. Alvarez
4468a17567
Add USE_WINDOWS_PROC define to Visual Studio project.
2017-11-07 13:29:24 +01:00
Victor M. Alvarez
26b92cb4a3
Move OS-specific process scanning code to a new directory.
2017-10-30 11:58:12 +01:00
Hilko Bengen
c4cdf42ad8
Refactor process memory scanning variants ( #776 )
...
Implementation details are placed into separate files and a dummy
implementation stub has been added for other platforms.
2017-10-30 10:13:12 +01:00
Victor M. Alvarez
0001d4686d
Implement test case for "time" module and add time.c it to Visual Studio project.
2017-10-13 13:32:14 +02:00
Victor M. Alvarez
8dc265d6a4
Reconfigure and clean up Windows projects
2017-05-19 12:36:16 +02:00
Victor M. Alvarez
be2849aef9
Remove unused file
2017-05-15 19:18:11 +02:00
Victor M. Alvarez
fe1ffe43af
Update Visual Studio 2015 project
2016-09-23 12:31:32 +02:00
Victor M. Alvarez
04578d7655
Add pe_utils.c to Visual Studio 2015 project
2016-09-21 10:12:03 +02:00
Victor M. Alvarez
0216b3a7df
Change modules macro names in VS 2010 project
2016-08-09 10:28:57 +02:00
plusvic
810d6b0132
Set version number to 3.5.0
2016-07-25 14:13:18 +02:00
Victor M. Alvarez
26ca179bbe
Fix some issues with Windows projects
2016-07-25 13:46:08 +02:00
Victor M. Alvarez
561a7426ec
Fix some issues with Visual Studio 2010 project
2016-06-20 15:52:17 +02:00
plusvic
65d17b8167
Move Visual Studio 2010 project to its own directory
2016-06-17 17:47:08 +02:00
mrexodia
b293c2c62a
fixed building on VS2010
2016-06-12 21:06:37 +02:00
Victor M. Alvarez
f1713f7851
Configure Visual Studio 2015 projects for static linking
2016-04-22 17:05:42 +02:00
Victor M. Alvarez
cb51bfe661
Fix some issues while building for Windows
2016-04-22 15:32:45 +02:00
Kyle Reed
907a0b0ba7
Update projects to use dependency NuGets
...
Signed-off-by: Kyle Reed <[email protected] >
2016-04-22 11:24:41 +02:00
Kyle Reed
2d6fc25999
Remove windows/include from projects because it will come from nuget
...
Signed-off-by: Kyle Reed <[email protected] >
2016-04-22 11:19:10 +02:00
Kyle Reed
1cce744312
Adding base project files and solution for 2015
...
Signed-off-by: Kyle Reed <[email protected] >
2016-04-22 11:19:10 +02:00
Michael Cohen
625f1f0e93
Add support for compiling under cygwin.
2016-02-13 23:55:37 +01:00
Victor M. Alvarez
47f7de27c0
Prepare Windows project for linking libyara as a DLL
2015-09-07 21:39:41 +02:00
Victor M. Alvarez
040db952d4
Set version number to 3.4.0
2015-06-18 15:33:39 +02:00
Victor M. Alvarez
865332ea19
Add stream.c to Vistual Studio project
2015-05-05 12:29:02 +02:00
Michal Malik
a5c78e9b7f
Fixed wrong version number (3.2.0) on Windows
2015-04-02 11:07:14 +02:00
Victor M. Alvarez
7fa2c1fc7b
Update Windows project
2015-02-10 13:03:50 +01:00
Victor M. Alvarez
8986478ea0
Update Windows project
2015-02-05 13:15:27 +01:00
Victor M. Alvarez
a3af96a2c2
Update Windows project
2014-12-02 11:08:49 +01:00
Victor M. Alvarez
c63714318b
Update Visual Studio project
2014-11-21 17:29:20 +01:00
Victor M. Alvarez
5480ab8a19
Add missing library to setupwinXX.py
2014-11-10 15:35:59 +01:00
Victor M. Alvarez
ba58fe2a25
Bump to version 3.2.0
2014-11-10 14:43:37 +01:00
Victor M. Alvarez
5ba87be3c1
Add OpenSSL to Windows project
2014-10-29 14:14:53 +01:00
Victor M. Alvarez
5af437a429
Update Visual Studio projects to use C++ instead of C compiler
2014-10-09 12:21:06 +02:00
Victor Manuel Alvarez
a6ad94b997
Add config.h for Windows
2014-08-26 23:08:43 +02:00
Victor Manuel Alvarez
356e0135a5
Remove unnecessary files
2014-08-26 23:03:04 +02:00
Victor M. Alvarez
03b015eed9
Don't generate debug information for release version
2014-08-26 13:00:32 +02:00
Victor M. Alvarez
3b5ddd067f
Replace WIN32 with _WIN32. The latest is defined by the compiler and doesn't need to be defined externally.
2014-08-20 11:22:37 +02:00
Victor M. Alvarez
8e851260c3
Fix some issues while compiling in Windows
2014-08-13 15:23:50 +02:00
Victor M. Alvarez
f609e10970
Set multi-byte character set for Windows projects
2014-07-07 14:08:06 +02:00
Victor M. Alvarez
b41d26496f
Add missing Jansson files
2014-07-07 13:55:05 +02:00
Victor M. Alvarez
6a11508161
Fix compilation in Windows
2014-07-04 14:00:13 +02:00
Victor M. Alvarez
5ad0f34e7b
Update Windows project
2014-01-28 12:07:09 +01:00
Victor M. Alvarez
6a0a739190
Update Windows project to include yarac
2013-12-10 14:56:18 +01:00
Victor M. Alvarez
8f19e940eb
Remove PCRE dependencies in Windows project and other adjustments
2013-12-03 18:50:14 +01:00
Victor M. Alvarez
5ffd924914
Fix some issues while building in Windows
2013-11-22 15:32:12 +00:00
Victor M. Alvarez
85c9c24675
Update Windows project
2013-10-29 17:24:13 +00:00