aboutsummaryrefslogtreecommitdiff
path: root/cppcheck.cfg
blob: f8e262030576aec0cecfe87f4dfb14c8edd3b837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<!-- Based on https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs Exclude errors if you still need this function. -->
<def format="2">
<function name="strlen">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="strcpy">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="strncpy">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="snprintf">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="strncat">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="strtok">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
<function name="scanfk">
  <warn severity="error">This function is considered security sensitive. Please make sure of its proper use by following https://confluence.arm.com/display/ARMSW/Security+Sensitive+APIs
    </warn>
  <arg nr="1"/>
</function>
</def>