Giter VIP home page Giter VIP logo

Comments (3)

jaerith avatar jaerith commented on August 28, 2024

No worries. Thanks for the quick response!

I should mention that I'm a newb with the Yara stuff, and I was just trying different libraries, in order to get a feel for what's out there. In truth, I haven't installed Yara on my system yet or built the C++ library yet. I just pulled down the Nuget package and started calling the APIs to become more familiar with it. In fact, I assume that the AccessViolationException could be a result of not having the actual Yara library/executable installed on my machine. So, there's a chance that this is all my fault. :)

from yarasharp.

AdamWhiteHat avatar AdamWhiteHat commented on August 28, 2024

Have you seen this before?

Yeah, you're calling ScanMemory outside of your using statement: using (YSContext context = new YSContext()) { ... }

Your YSContext is already disposed of by then!

Try moving YSInstance.ScanMemory(...) to inside the curly braces.

from yarasharp.

ChrisDavies-MSFT avatar ChrisDavies-MSFT commented on August 28, 2024

Yup, that's the answer! I'm sorry I never came back to this! FYI, at some point I plan to start a new repo and upgrade to V4. Unfortunately, StellarBear is no longer working on this project :(

from yarasharp.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.