Main Content

Create Coding Standard

R2026b
Bundle existing checkers into a shareable user-defined coding standard

Create a user-defined coding standard by selecting existing Polyspace® Bug Finder™ checkers that enforce your project guidelines. Organize the checkers into rules and sections, then package them into a checkers activation file (.pschk).

Run polyspace-query-language init to create a project template, then define your rules and sections:

catalog ProjectSafety = {
  Memory.Memory,
  ClassDesign.ClassDesign
}

section Memory = { MEM_1, MEM_2 }

rule MEM_1 = { std.cert_cpp.MEM52_CPP }
rule MEM_2 = { std.misra_c_2012.R21_3 }

Topics