- 09 Jan, 2017 2 commits
- 20 Oct, 2016 2 commits
-
-
When rules are passed as strings, the line number would not be shown when input as a string. The information is available however.
Mathijs van de Nes authored -
If it is not a file like object, the function would return -1. This would eventually lead to a segmention fault later on.
Mathijs van de Nes authored
-
- 03 Aug, 2016 1 commit
-
-
Wesley Shields authored
-
- 30 Jun, 2016 1 commit
-
-
The "scan" method was returning a error when the "externals" dictionary has keys that weren't previously passed to "compile". Ignore those extra keys to avoid regression errors.
plusvic authored
-
- 20 Jun, 2016 1 commit
-
-
Show appropriate error message when an external variable is redefined with a different type. See issue #12.
plusvic authored
-
- 15 Jun, 2016 1 commit
-
-
plusvic authored
-
- 23 Feb, 2016 1 commit
-
-
plusvic authored
-
- 02 Jan, 2016 1 commit
-
-
Implement a callback to handle module data. It will be given a dictionary which contains all the information stored in the module that is fit for consumption. Things like functions are left out. You can now do things like this: ``` import yara import json from pprint import pprint def modules_callback(d): try: pprint(d) # This will not work if you have non-ASCII in your strings. #print json.dumps(d, indent=4) except Exception as e: print "Exception: %s" % e return yara.CALLBACK_CONTINUE rules = yara.compile(source='import "pe" rule always_false { condition: false }') with open('foo.exe') as f: rules.match(data=f.read(), modules_callback=modules_callback) ```
Wesley Shields authored
-
- 26 Nov, 2015 2 commits
-
-
Victor M. Alvarez authored
-
yara_callback was invoking Python's code without acquiring the global interpreter lock.
Victor M. Alvarez authored
-
- 25 Sep, 2015 2 commits
-
-
Victor M. Alvarez authored
-
Starting with Python 3.2 hash functions should return Py_hash_t instead of long.
Victor M. Alvarez authored
-
- 15 Sep, 2015 1 commit
-
-
Victor M. Alvarez authored
-
- 11 Sep, 2015 1 commit
-
-
Victor M. Alvarez authored
-