Skip to content

Commit

Permalink
fixed a few valueFlowBailoutIncompleteVar selfcheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Jun 15, 2024
1 parent 82ac718 commit c09ec05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions cfg/posix.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5767,6 +5767,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<not-bool/>
</arg>
</function>
<define name="SA_SIGINFO" value="4"/>
<!-- http://pubs.opengroup.org/onlinepubs/9699919799/functions/sigaltstack.html -->
<!-- int sigaltstack(const stack_t *restrict ss, stack_t *restrict oss); -->
<function name="sigaltstack">
Expand Down
7 changes: 5 additions & 2 deletions cfg/std.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9055,14 +9055,15 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
<podtype name="std::atomic_ptrdiff_t"/>
<podtype name="std::atomic_intmax_t"/>
<podtype name="std::atomic_uintmax_t"/>
<!-- https://en.cppreference.com/w/c/program/SIG_types
Values are in alignment with posix.cfg -->
<!-- https://en.cppreference.com/w/c/program/SIG_types -->
<define name="SIGTERM" value="15"/>
<define name="SIGSEGV" value="11"/>
<define name="SIGINT" value="2"/>
<define name="SIGKILL" value="9"/>
<define name="SIGABRT" value="6"/>
<define name="SIGFPE" value="8"/>
<!-- https://en.cppreference.com/w/c/program/SIG_strategies -->
<define name="SIG_DFL" value="0"/>
<!-- http://www.cplusplus.com/reference/cstdio/fseek/ -->
<define name="SEEK_CUR" value="1"/>
<define name="SEEK_END" value="2"/>
Expand All @@ -9074,4 +9075,6 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
<define name="FE_DIVBYZERO" value="8"/>
<define name="FE_INVALID" value="16"/>
<define name="FE_ALL_EXCEPT" value="31"/>
<!-- https://en.cppreference.com/w/c/io -->
<define name="EOF" value="-1"/>
</def>

0 comments on commit c09ec05

Please sign in to comment.