
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Custom Rules For C/C++
Can custom rules be written for C/C++? In reading the custom rules guide it leaves out mentioning it.
"Custom rules are available for Java and .NET code, but do not currently support JavaScript, PHP, Classic ASP, Visual Basic, or Cobol."
Before I embark on trying to write one, I wanted to make sure it is or is not supported.
Thank You,
Doug Ferrin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
my understanding is that if a language is defined in the schema, then fortify SCA engine will accept the custom rule for that dlanguage (C:\Program Files\HP_Fortify\HP_Fortify_SCA_and_Apps_16.10\Core\config\schemas\rules.xsd).
With this thought in mind, I was able to develop a custom rule for cobol by using the rule editor's wizard/template to develop the rule under java language; alter the language to "cobol", and altered the condition based on my needs and the cobol custom rule works as desired.