mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 15:52:27 +03:00
Rose: add handling for unexpected programs
This commit is contained in:
committed by
Wang Xiang W
parent
f0bde3721e
commit
6dc9bed310
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2017, Intel Corporation
|
||||
* Copyright (c) 2015-2019, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -577,6 +577,16 @@ hs_error_t HS_CDECL hs_valid_platform(void);
|
||||
*/
|
||||
#define HS_INSUFFICIENT_SPACE (-12)
|
||||
|
||||
/**
|
||||
* Unexpected internal error.
|
||||
*
|
||||
* This error indicates that there was unexpected matching behaviors. This
|
||||
* could be related to invalid usage of stream and scratch space or invalid memory
|
||||
* operations by users.
|
||||
*
|
||||
*/
|
||||
#define HS_UNKNOWN_ERROR (-13)
|
||||
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user