1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/test/sclog
Simon Tatham 7aca274789 sclog: log the size of allocated memory regions.
This occurred to me recently as a (very small) hole in the logging
strategy: if the size of an allocated memory block depended on some
secret data, it certainly would change the control flow and memory
access pattern inside malloc, but since we disable logging inside
malloc, the log file from this test suite would never see the
difference.

Easily fixed by printing the size of each block in the code that
intercepts malloc and realloc. As expected, no test actually fails as
a result of filling in this gap.
2020-12-13 12:33:43 +00:00
..
.gitignore New test system to detect side channels in crypto code. 2019-02-10 13:09:53 +00:00
CMakeLists.txt New test system to detect side channels in crypto code. 2019-02-10 13:09:53 +00:00
sclog.c sclog: log the size of allocated memory regions. 2020-12-13 12:33:43 +00:00