What steps will reproduce the problem?
1. Attempt to use namespaces with yara-python and 'filesources'
What is the expected output? What do you see instead?
Namespaces should be created based on dictionary keys. No namespaces are
ever created when using 'filesources' and yara.compile.
What version of the product are you using? On what operating system?
yara-python v1.4
Please provide any additional information below.
It looks like yara.compile() will create namespaces from dictionary keys if
'sources' is used as the argument. While the docs suggest that the same is
true for 'filesources' it doesn't actually work. A quick browse in the
source and it looks like the context for each file in 'filesources' is
never setup in the same was as is done with 'sources'
Original issue reported on code.google.com by sadde...@gmail.com on 4 Jun 2010 at 4:16
Original issue reported on code.google.com by
sadde...@gmail.com
on 4 Jun 2010 at 4:16