Coder Social home page Coder Social logo

abathargh / harlock Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 377 KB

A small language with first-class support for hex/elf binary data manipulation

License: MIT License

Go 99.31% Makefile 0.20% Shell 0.49%
golang ihex binary-manipulation elf embedded embedded-systems hex-parser

harlock's People

Contributors

abathargh avatar

Stargazers

 avatar

Watchers

 avatar

harlock's Issues

Add support for elf files manipulation

The language should be able to have an interface to embed data in ELF files, e.g. files created in the post-build phase for debug purposes.

In order to do so, the following points must be addressed:

  • introduce an elf file type to abstract operations, with a simple to use API;
  • write an internal package to manipulate elf files, considering elf sections ecc.
  • write a test suite for this package.

N.B. The go stdlib has a great package that introduces elf binary support in the debug/elf package.
Many things can just be connected to use it instead of a full re-implementation.

Priority => ease of use and implementation, NOT performance.

Add support for intel-hex encoded file manipulation

The language should be able to have an interface to embed data in Intel Hex files, e.g. files created in the post-build phase in a Keil environment.

In order to do so, the following points must be addressed:

  • introduce an hex file type to abstract operations, with a simple to use API;
  • write an internal package to manipulate Intel hex files, considering record types, ecc.
  • write a test suite for this package.

Add support for a hex record type

Right now the first draft of the hex support will implement record access with records as strings.
It may be desirable to have a record type with easy access for information like length/type/etc.

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.