From a5eb16cbc95689b06a4be13749a67869be38923d Mon Sep 17 00:00:00 2001 From: Ricardo Baratto Date: Thu, 19 Mar 2026 17:55:02 -0400 Subject: [PATCH] convert two warning messages about stack buffer sizes to info We normally consider warning messages to be signs of something going wrong, but in these two cases we are able to provide a proper stack buffer size --- chb/cmdline/reportcmds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chb/cmdline/reportcmds.py b/chb/cmdline/reportcmds.py index 2f094c24..6abf8fac 100644 --- a/chb/cmdline/reportcmds.py +++ b/chb/cmdline/reportcmds.py @@ -1321,7 +1321,7 @@ def include_target(target: 'CallTarget') -> bool: str(instr), str(dstoffset)) continue else: - chklogger.logger.warning( + chklogger.logger.info( "Stackbuffer for %s at offset %s does not have a size, " + "but stackframe allows a buffer of %s", str(instr), str(dstoffset), str(buffersize)) @@ -1335,7 +1335,7 @@ def include_target(target: 'CallTarget') -> bool: str(instr), str(dstoffset)) continue else: - chklogger.logger.warning( + chklogger.logger.info( "Stackbuffer size for %s at offset %s is reported to be 1 " + "; replacing it by the size derived from the stacklayout", str(instr), str(dstoffset))