c89cc.sh - standalone C89/ELF64 compiler in pure portable shell

c89cc.sh - standalone C89/ELF64 compiler in pure portable shell - c89cc.sh

Gist

#weld

The `weld-parser` crate wasn't happy with its name. Now, we must refer to it as `weld-object`. This crate has ambitions for its life!, like supporting Elf32, MachO, COFF, and more object formats, look at this little cheeky!

https://github.com/Hywan/weld/commit/7556abeb5d80f015e92634d8b9a6c1494e815b9e

#RustLang #parser #object #elf64

chore(object): Rename `weld-parser` to `weld-object`. · Hywan/weld@7556abe

Experimental stuff. Don't spend your time here for the moment. - chore(object): Rename `weld-parser` to `weld-object`. · Hywan/weld@7556abe

GitHub

#weld

Before leaving the elf64, I wanted to write some tests. Fortunately for me, parsers written with nom are really easy to test, they are just functions!

https://github.com/Hywan/weld/compare/13be3d2917f945cd347e9394c07853ac692f32de...9e6d55e2e137df3786b257228c7e35042520c0a7

When tests are easy to write, it's a pleasure to test everything.

With this test session, I've been able to fix one panic when reading a string in a data segment with an out-of-range offset.

#RustLang #test #elf64 #parser

Comparing b7fde2dbf9fb523dccb041063bfd030967f5e814...4a41bd666c6dc8b76a59bf7c127247312e84127e · Hywan/weld

Experimental stuff. Don't spend your time here for the moment. - Comparing b7fde2dbf9fb523dccb041063bfd030967f5e814...4a41bd666c6dc8b76a59bf7c127247312e84127e · Hywan/weld

GitHub