mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-12 02:10:00 +00:00
Fix version number.
This commit is contained in:
@@ -34,7 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define YR_MAJOR_VERSION 4
|
||||
#define YR_MINOR_VERSION 1
|
||||
#define YR_MICRO_VERSION 0
|
||||
#define YR_MICRO_VERSION 1
|
||||
|
||||
#define version_str(s) _version_str(s)
|
||||
#define _version_str(s) #s
|
||||
@@ -48,7 +48,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define YR_VERSION_HEX \
|
||||
((YR_MAJOR_VERSION << 16) | (YR_MINOR_VERSION << 8) | (YR_MICRO_VERSION << 0))
|
||||
|
||||
|
||||
// Turn on paranoid mode by default if not defined otherwise. In paranoid
|
||||
// mode additional checks are performed in order to mitigate the effects of
|
||||
// malicious tampering with compiled rules. Such checks are not necessary
|
||||
@@ -67,7 +66,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#define YR_PARANOID_EXEC 1
|
||||
#endif
|
||||
|
||||
|
||||
// Enumerated type listing configuration options
|
||||
typedef enum _YR_CONFIG_NAME
|
||||
{
|
||||
@@ -79,12 +77,10 @@ typedef enum _YR_CONFIG_NAME
|
||||
|
||||
} YR_CONFIG_NAME;
|
||||
|
||||
|
||||
#define DEFAULT_STACK_SIZE 16384
|
||||
#define DEFAULT_MAX_STRINGS_PER_RULE 10000
|
||||
#define DEFAULT_MAX_MATCH_DATA 512
|
||||
|
||||
|
||||
YR_API int yr_initialize(void);
|
||||
|
||||
YR_API int yr_finalize(void);
|
||||
@@ -93,5 +89,4 @@ YR_API int yr_set_configuration(YR_CONFIG_NAME, void*);
|
||||
|
||||
YR_API int yr_get_configuration(YR_CONFIG_NAME, void*);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user