knurling-rs / flip-link

Adds zero-cost stack overflow protection to your embedded programs
Apache License 2.0
270 stars 6 forks source link

Adding tests to flip-link #69

Closed Dajamante closed 6 months ago

Dajamante commented 2 years ago

rust-lld is a linker for GNU files. (call with rust-lld -flavor gnu -T memory.x) flip-link should accept the same files as rust-lld. Currently, some memory.x files (describing the memory) are not accepted by flip-link while being accepted by rust-lld.

We added in total 7 tests to manage input that is currently accepted by rust lld. We cherry-picked the first commit of this PR, adding additions on ORIGIN, and made a different PR ħere.

The tests are passing but there are changes left to do:

Lots to do, so please advise 😄