Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8406233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:03:06+00:00 2026-06-09T23:03:06+00:00

g++ verifies predetermined set of rules and constraints which if not met in code

  • 0

g++ verifies predetermined set of rules and constraints which if not met in code throws an error or warning messages. Is it possible using some tool to create a parser for custom set of rules such as “global variables need to be explicitly initialized” (I know global variables are implicitly initialized), or functions with name init has been called (I know about constructors but don’t want to use them).
Any pointers to something quick and simple would be useful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:03:07+00:00Added an answer on June 9, 2026 at 11:03 pm

    Coverity lets you write custom rules like this. It’s kind of expensive, so probably not a hobby kind of thing to set up just for this. It’s a good tool for production code, though, and extensible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to write a test which verifies that my code can handle an
So, I have set up a login page that verifies the user's credentials, and
Possible Duplicate: Java \ Pattern - how to write a pattern that verifies the
I want to write test that verifies mappings in castle windsor. I am using
I need to create regular expression which verifies if user inputs: 4 digits OR
Hello Im working on a Sudoku Checker which verifies the completed board's solution is
So I'm having this application that verifies weather a user can log-in or not.
I use this code snippet that verifies if the file specified in the URL
This code verifies whether an ISBN is valid. For nine-digit inputs, I'd like to
We have servlet filter which verifies couple of session variables before JSF view display.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.