Handle optimization test in rpminspect's annocheck inspection
Ignore check_stack_overrun function in optimization test in rpminspect check. This function is purposely not being optimized, to preserve a stack variable creation. -- Resolves: #2012938
This commit is contained in:
parent
227dbf53a5
commit
5c5c2f53d1
@ -48,3 +48,11 @@ badfuncs:
|
|||||||
- rresvport
|
- rresvport
|
||||||
ignore:
|
ignore:
|
||||||
- /usr/bin/resolveip
|
- /usr/bin/resolveip
|
||||||
|
|
||||||
|
---
|
||||||
|
# ignore check_stack_overrun function in optimization check, based on BZ2012938
|
||||||
|
# this function is purposely not being optimized, to preserve a stack variable
|
||||||
|
# creation
|
||||||
|
annocheck:
|
||||||
|
extra_opts:
|
||||||
|
- hardened: --skip-optimization=_Z19check_stack_overrunP3THDlPh
|
||||||
|
Loading…
Reference in New Issue
Block a user