1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_tinyvcdiff
Marian Buschsieweke 2fbde4af19
tests/pkg_tinyvcdiff: fix stack overflow
Move some variables from stack to `.bss` / `.data` to avoid stack
overflows, which are detected by the MPU stack guard (e.g. on the
Nucleo-F767ZI that I used) and results in the test failing.
2022-11-11 08:46:09 +01:00
..
tests
app.config.test
delta.bin
fakemtd.c
fakemtd.h tests/pkg_tinyvcdiff: Initialize mtd->write_size 2022-08-30 11:36:42 +02:00
main.c tests/pkg_tinyvcdiff: fix stack overflow 2022-11-11 08:46:09 +01:00
Makefile
Makefile.ci
README.md
source.bin
target.bin

pkg_tinyvcdiff

This test patches the binary file source.bin using delta.bin and reconstructs target.bin.

delta.bin has been created with open-vcdiff:

vcdiff delta -interleaved -dictionary source.bin <target.bin >delta.bin