Giter VIP home page Giter VIP logo

libgracht's People

Contributors

meulengracht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

libgracht's Issues

[security] add protective measures against buffer overflows

Currently there is no protection against serializing too much data and deserializing a message that is too large. Max Message Size is defined in both client and server - and we have no "negotiation" phase which would inform each other of their respective max sizes. A solution needs to be defined for this and implemented.

Windows build is missing some glue calls

Currently the windows build is failing due to missing C99 features and because WSA does not match the interface that posix has for sockets. So we need to implement and correctly facilitate the differences in sockets in the code.

  • Remove usage of VLAs
  • Implement *_msg equivents.
  • Handle MSG_WAITALL and MSG_DONTWAIT

[parser] add better error handling

Proper error handling is missing from the parser, currently both the line number and line offset is wrong. And it only prints out that an unexpected token was encountered, not a more precise reason the parsing failed.

Library documentation

Before we release libgracht 1.0 we need to cleanup and document the APIs, and fill the README.

  • Cleanup header files and add parameter names
  • Add API documentation for all calls
  • README: Information about required dependencies (thread lib)
  • README: Examples
  • README: More about link seperation?
  • README: Fill out api descriptions
  • README: Multi-calling (message contexts) and multi-waiting.

[link] the vali-ipc link needs to be updated

This is a todo for my personal project, I need to update Vali to use the Gracht V2 and update the link as I have to refactor my ipc implementation to allow for raw buffer transfer.

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.