You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
2.1 KiB
63 lines
2.1 KiB
<?xml version='1.0'?>
|
|
<DefectDefs>
|
|
|
|
<DefectDefGroup guid="547372DB-13F7-4F98-B855-553246A71A49"
|
|
id="2337"
|
|
name="PragmaUnsafe">
|
|
<display>unsafe functions</display>
|
|
<doc>
|
|
<P>pragma unsafe(disable:func1, func2, func3)</P>
|
|
<P>pragma unsafe(push; enable: func1)</P>
|
|
<P>pragma unsafe(pop)</P>
|
|
</doc>
|
|
<ownerURL>http://fusion</ownerURL>
|
|
<ownerContact>xiaoyuw</ownerContact>
|
|
|
|
<!-- //////////////////////////////////////////////////////////////// -->
|
|
<!-- 2337 -->
|
|
<DefectDef guid="1216AB29-96E2-440B-B8DC-E0C4ED8BF621"
|
|
id="2337"
|
|
name="REPORT_UNSAFE_FUNCTIONCALL">
|
|
<description>
|
|
<format>
|
|
unsafe function
|
|
</format>
|
|
</description>
|
|
|
|
<additionalInfo>
|
|
<format>%function% is an unsafe function. If you are sure about its usage, please use pragma unsafe enable it explicitly</format>
|
|
<param name="function" format="'%ls'" />
|
|
</additionalInfo>
|
|
</DefectDef>
|
|
|
|
<DefectDef guid="FE8B7B85-1BD9-42f0-BAF2-638EFBBB7F4B"
|
|
id="2338"
|
|
name="REPORT_UNSAFE_POINTER_ARITHMATIC">
|
|
<description>
|
|
<format>
|
|
unsafe pointer arithmatic
|
|
</format>
|
|
</description>
|
|
|
|
<additionalInfo>
|
|
<format>Pointer Arithmatic is unsafe. If you are sure about its usage, please use pragma unsafe enable it explicitly</format>
|
|
</additionalInfo>
|
|
</DefectDef>
|
|
|
|
<DefectDef guid="04F39209-DBFC-49d2-B5E0-122970DC4508"
|
|
id="2339"
|
|
name="INVALID_PRAGMA_UNSAFE_STATEMENT">
|
|
<description>
|
|
<format>
|
|
syntax error for prefast unsafe statement
|
|
</format>
|
|
</description>
|
|
|
|
<additionalInfo>
|
|
<format>Symtax error for pragma prefast unsafe</format>
|
|
</additionalInfo>
|
|
</DefectDef>
|
|
|
|
</DefectDefGroup>
|
|
|
|
</DefectDefs>
|