XPerf
语言C

cperf 规则 ID(简写)

规范 ID 仅为 slug。旧地图中的数字是历史性的,不被接受。

Slug
cp-alloc-hot
cp-realloc-grow-one
cp-printf-hot
cp-strlen-in-cond
cp-strcat-hot
cp-sprintf-hot
cp-fopen-hot
cp-gettime-hot
cp-wide-bool-flags
cp-regex-hot
cp-alloca-hot
cp-struct-by-value

另请参见 root rule-id-map。

重命名 2026-10-27(旧墓碑;永不重复使用)

默认 --scope all(或相应的工具包选项)。旧的 *-in-loop ID 会误导工具/模型;它们已在 evidence/_removed/ 下作废。

旧别名新别名
cp-alloc-in-loopcp-alloc-hot
cp-alloca-in-loopcp-alloca-hot
cp-fopen-in-loopcp-fopen-hot
cp-gettime-in-loopcp-gettime-hot
cp-printf-in-loopcp-printf-hot
cp-regex-in-loopcp-regex-hot
cp-sprintf-in-loopcp-sprintf-hot
cp-strcat-in-loopcp-strcat-hot