Created attachment 97742
Avoid warnings from tinfl.c
In order to avoid these warnings we need to modify tinfl.c in some way.
I suggest the attached solution. MZ_MALLOC/REALLOC/FREE, memcpy, memset, etc. are replaced with appropriate Valgrind functions. Tinfl is also added to Makefile, so it can be used from other parts of project.
The patch can be applied after applying compressed-dwarf-support.diff.
To apply the patch use command:
patch -p1 < tinfl-modifications.diff
The alternative solution is to delete "High level decompression functions" from tinfl.c.
Created attachment 97742
Avoid warnings from tinfl.c
In order to avoid these warnings we need to modify tinfl.c in some way. REALLOC/ FREE, memcpy, memset, etc. are replaced with appropriate Valgrind functions. Tinfl is also added to Makefile, so it can be used from other parts of project.
I suggest the attached solution. MZ_MALLOC/
The patch can be applied after applying compressed- dwarf-support. diff. ions.diff
To apply the patch use command:
patch -p1 < tinfl-modificat
The alternative solution is to delete "High level decompression functions" from tinfl.c.