- 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 3 commits
-
-
plusvic authored
-
Wesley Shields authored
-
plusvic authored
-
- 28 Jul, 2016 1 commit
-
-
plusvic authored
-
- 25 Jul, 2016 4 commits
-
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
Victor M. Alvarez authored
-
- 02 Jul, 2016 1 commit
-
-
Victor M. Alvarez authored
-
- 30 Jun, 2016 2 commits
- 29 Jun, 2016 2 commits
- 20 Jun, 2016 2 commits
- 15 Jun, 2016 4 commits
- 23 Feb, 2016 10 commits
-
-
plusvic authored
-
Victor M. Alvarez authored
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
plusvic authored
-
Implement CALLBACK_MSG_MODULE_IMPORTED.
Victor M. Alvarez authored
-
- 31 Jan, 2016 2 commits
-
-
Victor M. Alvarez authored
-
- 22 Jan, 2016 1 commit
-
-
Victor M. Alvarez 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
-
- 11 Nov, 2015 1 commit
-
- 23 Oct, 2015 1 commit
-
- 25 Sep, 2015 1 commit
-
-
Victor M. Alvarez authored
-