knurling-rs / flip-link

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

subtraction is handled incorrectly #66

Open japaric opened 2 years ago

japaric commented 2 years ago

given this line in the MEMORY command:

  RAM : ORIGIN = 0x20020000, LENGTH = 2K - 1K

flip-link internally computes the length as 2048 instead of as 1024