Skip to content

Commit

Permalink
Merge branch 'master' into improve-profiling.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Mar 12, 2020
2 parents 751070d + 431ea94 commit 2e9dc81
Show file tree
Hide file tree
Showing 8 changed files with 578 additions and 16 deletions.
5 changes: 3 additions & 2 deletions libyara/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Paranoid mode does not guarantee that it's safe to load compiled rules from
// third parties, it only prevents severe security issues. Maliciously crafted
// compiled rules can still crash YARA. Loading third-party compiled rules is
// *highly* undiscouraged. If you need to distribute YARA rules in compiled
// *highly* discouraged. If you need to distribute YARA rules in compiled
// form you should encapsulate them in some digitally-signed package that
// ensure that they haven't been modified by someone else.

Expand All @@ -69,7 +69,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif


#define MEM_SIZE YR_MAX_LOOP_NESTING * YR_MAX_LOOP_VARS
#define MEM_SIZE \
YR_MAX_LOOP_NESTING * (YR_MAX_LOOP_VARS + YR_INTERNAL_LOOP_VARS)


#define push(x) \
Expand Down
Loading

0 comments on commit 2e9dc81

Please sign in to comment.