Git Product home page Git Product logo

Comments (4)

sangkilc avatar sangkilc commented on May 2, 2024 1

I would be pleased if you add some notes on the docs.

It is already there. See b737224

Thanks for your contribution.

from b2r2.

sangkilc avatar sangkilc commented on May 2, 2024

Thanks for the report.

  1. We intentionally changed the API to return only a "FileFormat". So I fixed the doc: b737224

  2. You are recommended to use BinHandler to do your job. Inside BinHandler, there is a FileInfo field which represents both the ISA and the FileFormat. To create a BinHandler, you can simply do: BinHandler.Init (ISA.DefaultISA, filename) where filename is your binary file path. Note that the first parameter is for a fallback case: it specifies what kind of ISA should be used when the format detection fails.

  3. Can I know the reason why you are not using LowUIR?

    but had to dismiss the idea because the project was so integrated into the VEX-IR

from b2r2.

ied206 avatar ied206 commented on May 2, 2024

Thanks for updating the docs!

You are recommended to use BinHandler to do your job

I have read the docs and the code but did not know that using ISA.DefaultISA is for a fallback. I will try this method. If you do not mind, I would be pleased if you add some notes on the docs.

Can I know the reason why you are not using LowUIR?

My project was already tightly coupled with VEX-IR. I tried to implement the LowUIR version but had to change most of my model and approach. It was due to the inherent difference between VEX and LowUIR's design choices.

from b2r2.

ied206 avatar ied206 commented on May 2, 2024

Sorry for adding bug labels, I intended not to put that label but I did not know it was automatically attached to the issue template I used.

from b2r2.

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.