Comments (1)
This issue is similar to #245.
This is a well known issue that won't be solved anytime soon. But there's an alternative, instead of passing filepath
to rules.match
, read the file from Python and pass data
to rules.match
. This way Python handles the file reading, which should handle unicode path correctly. The problem with passing the file path directly to YARA is that YARA's API doesn't offer unicode support.
from yara-python.
Related Issues (20)
- Version 4.3 cannot be installed on Virtual Machines HOT 3
- simplejson cannot convert matches to JSON in yara-python 4.3.0 HOT 1
- Documentation is not updated to reflect changes in 4.3.0 HOT 3
- bug in Yara-python 4.3.0 - could not map file "<data>" into memory HOT 3
- No wheel available for python > 3.8 HOT 3
- Unable to build Sphnix documentation on macOS HOT 2
- TestYara::testStringIO segfaults with python-3.12
- Install on MacOS Ventura 13.5 HOT 10
- Yara not scanning all file content HOT 2
- Incorrect reference counting of 'yara.StringMatchInstance' attributes HOT 3
- It is impossible to scan directories whose names are in Russian, and it is also impossible to scan files in Russian HOT 1
- Invalid file name pe.number_of_signatures on Windows
- save() results in "internal error : 58" HOT 4
- Publish linux wheels HOT 2
- rule.match(filepath) does not support paths with Chinese characters, Japanese kana, etc HOT 1
- Please distribute source package HOT 2
- Some build errors during CI process.
- Add ability to call --strict-escape via yara.compile() HOT 2
- Unknown module macho HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yara-python.