Skip to content

Commit c09ec05

Browse files
committed
fixed a few valueFlowBailoutIncompleteVar selfcheck warnings
1 parent 82ac718 commit c09ec05

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

cfg/posix.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5767,6 +5767,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
57675767
<not-bool/>
57685768
</arg>
57695769
</function>
5770+
<define name="SA_SIGINFO" value="4"/>
57705771
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaltstack.html -->
57715772
<!-- int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); -->
57725773
<function name="sigaltstack">

cfg/std.cfg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9055,14 +9055,15 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
90559055
<podtype name="std::atomic_ptrdiff_t"/>
90569056
<podtype name="std::atomic_intmax_t"/>
90579057
<podtype name="std::atomic_uintmax_t"/>
9058-
<!-- https://en.cppreference.com/w/c/program/SIG_types
9059-
Values are in alignment with posix.cfg -->
9058+
<!-- https://en.cppreference.com/w/c/program/SIG_types -->
90609059
<define name="SIGTERM" value="15"/>
90619060
<define name="SIGSEGV" value="11"/>
90629061
<define name="SIGINT" value="2"/>
90639062
<define name="SIGKILL" value="9"/>
90649063
<define name="SIGABRT" value="6"/>
90659064
<define name="SIGFPE" value="8"/>
9065+
<!-- https://en.cppreference.com/w/c/program/SIG_strategies -->
9066+
<define name="SIG_DFL" value="0"/>
90669067
<!-- http://www.cplusplus.com/reference/cstdio/fseek/ -->
90679068
<define name="SEEK_CUR" value="1"/>
90689069
<define name="SEEK_END" value="2"/>
@@ -9074,4 +9075,6 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
90749075
<define name="FE_DIVBYZERO" value="8"/>
90759076
<define name="FE_INVALID" value="16"/>
90769077
<define name="FE_ALL_EXCEPT" value="31"/>
9078+
<!-- https://en.cppreference.com/w/c/io -->
9079+
<define name="EOF" value="-1"/>
90779080
</def>

0 commit comments

Comments
 (0)