Giter VIP home page Giter VIP logo

Comments (7)

vanhauser-thc avatar vanhauser-thc commented on July 27, 2024

as this gives a huge performance increase - yes, yes and yes.

from libafl-legacy.

rish9101 avatar rish9101 commented on July 27, 2024

I've started working on this over here. https://github.com/AFLplusplus/LibAFL/tree/bind_to_cpu

from libafl-legacy.

domenukk avatar domenukk commented on July 27, 2024

nice!
One thing though I don't see a reason to making the actual bind functions depending on the engine, right? Maybe instead return the bound cpu index, or -1 on error?

from libafl-legacy.

rish9101 avatar rish9101 commented on July 27, 2024

I was thinking over something, about storing the bound cpu in engine somewhere. So that when we restart the engine we can possibly bind it again to that cpu? What do you think?

from libafl-legacy.

rish9101 avatar rish9101 commented on July 27, 2024

Btw @domenukk any chance of any race condition during cpu binding? two instances being bound to the same cpu?

from libafl-legacy.

domenukk avatar domenukk commented on July 27, 2024

I was thinking over something, about storing the bound cpu in engine somewhere. So that when we restart the engine we can possibly bind it again to that cpu? What do you think?

That is possible without taking an engine pointer. The caller can call bindcpu the first time around, and bind to a speciific cpu the second time.

Btw @domenukk any chance of any race condition during cpu binding? two instances being bound to the same cpu?

Original afl had a race condition here, but I think @vanhauser-thc fixed it at some point(?)

from libafl-legacy.

domenukk avatar domenukk commented on July 27, 2024

Done with #42

from libafl-legacy.

Related Issues (20)

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.