Git Product home page Git Product logo

quatch's People

Contributors

birdstakes avatar krsh732 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

krsh732 shawnd

quatch's Issues

Improve README.md

Some things that should be done:

  • Explain what qvms are and why this library exists
  • Add more usage examples with explanations
  • Better installation instructions. For example pip install git+https://... or even python -m pip install git+https://...

Data initialization is probably wrong on big-endian architectures

The data section is meant to contain 4 byte values that will be byte swapped at load time. On big-endian architectures, the current approach of only using STORE4 to initialize added data would cause everything to be byte swapped, including data that would normally go in the lit section and that should not be byte swapped, causing things like strings to be jumbled.

One possible solution would be to split add_data into add_data, add_lit, and add_bss and have those functions keep track of which kind of data is stored where. Then at write time STORE1 and STORE4 could be used for lit and data values, respectively.

Call site cache should be updated when call sites change

CONST + CALL pair locations are cached at load time to be used in replace_calls. If an instruction referenced by the cache is modified, the cache should be updated.

Only the original call sites that existed at load time are cached so that new code can call the original unhooked functions without having to worry about a later replace_calls messing things up. Maybe there should also be a way to update the cache to include new call sites too, or an option to have replace_calls skip the cache.

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.