avast / yari

YARI is an interactive debugger for YARA Language.
https://avast.github.io/yls/
MIT License
87 stars 9 forks source link

Start building Mac OS Python wheels for yari-py #14

Open MatejKastak opened 1 year ago

MatejKastak commented 1 year ago

Currently we support only Linux and Windows platforms.

We should find a way to also build universal MacOS YARI wheels.

PS: If you want to see this implemented in the future, please react to this issue.

ITAYC0HEN commented 1 year ago

debugger doesn't work on VSCODE on macos, is it related?

MatejKastak commented 1 year ago

Yes it is related, looks like I underestimated how many people run macos. Unfortunately, I don't have a macos available and very little experience with those systems.

We have two options here:

  1. Make it somehow build on MacOS in GithubActions.
  2. Enable source distribution. This will require some tweaks to the upstream YARA, I have a small patch that exposes necessary functions from libyara we are using in YARI (ref). We will need to move that to upstream, which I have in backlog for the upcomming weeks. After that we will be able to link with a system libyara (expecting users to have YARA installed). But the source python distribution should be able to pick this library and link against that.

The first option is better in my opinion, I will start thinking about it.