forked from Imagelibrary/rtems
When the stack checker is not enabled, the stack checker reporting function can still be called. This prevents that call from performing a null memory access in trying to find the high water mark if the stack checker was never initialized. This also introduces a test to ensure this call does not cause a crash. Closes #4588
17 lines
501 B
Plaintext
17 lines
501 B
Plaintext
# COPYRIGHT (c) 2022.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
# The license and distribution terms for this file may be
|
|
# found in the file LICENSE in this distribution or at
|
|
# http://www.rtems.org/license/LICENSE.
|
|
#
|
|
This file describes the directives and concepts tested by this test set.
|
|
|
|
test set name: stackchk02
|
|
|
|
directives:
|
|
+ rtems_stack_checker_report_usage
|
|
|
|
concepts:
|
|
+ This task verifies that the stack checker will not perform bad
|
|
accesses when not properly enabled.
|