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 969821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:42:20+00:00 2026-05-16T02:42:20+00:00

I am interested in static analysis tools that are out there. Or rather the

  • 0

I am interested in static analysis tools that are out there. Or rather the API’s that are supported to allow me to write my own tools using these API’s.
I’ve written dozens over the years at my present employment that scrutinize our source code (C++) for various things. But one thing I want to know is if there are other static analysis API’s that are available. So

My question are

  1. What static analysis API’s do you use?
  2. Why do you use it?
  3. Name one thing you have written with it?

As for me, my answers are:

What:
I use an API for understand 4 c++.

Why:
I use it because:

  1. The C API for it is one header file (Very small)
  2. The C API requires almost no memory management
  3. I wrote a managed wrapper around it so I can use c# with it!
  4. The API is very small but powerful in finding various things.

One Tool:
Well, last week I wrote a tool to take a virtual function on a base class and then to change the accessibility on it and all virtual overrides on derived classes.
This would have taken me a week to do by hand. Using the tool which took me a very short time to write I was able to change almost a thousand files with one push of a button. Cool

Note:
I’ve also played around with the C++ code model that is available with Visual studio and have been successful in writing macros to target that.

Thanks, and I look forward to any answers you may have.

  • 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-05-16T02:42:21+00:00Added an answer on May 16, 2026 at 2:42 am

    Our DMS Software Reengineering Toolkit is commercially available, general purpose machinery for parsing/analyzing/transforming source code for many languages, including C, C++, C#, Java, COBOL, …

    It uses explicit langauge definitions (e.g., BNF) to drive parsing machinery to build ASTs directly; DMS supports multiple dialects for some languages. There are built in analyzers to support symbol table construction, control and data flow anlaysis, points-to analysis, symbolic range analysis …

    For C, Java and COBOL, the built-in analysis machinery is tied to the language definitions so that you can use these analyzers as a foundation for a custom analysis you might want to build. C++ does have the symbol tables but isn’t yet tied to the other internal analyzers, but the machinery is there.

    DMS also provides procedural and source-to-source transformations, conditioned by analysis results, on top of all of this; the modified ASTs can be prettyprinted to regenerate compilable source complete with the original comments.

    Your three questions:

    1.What static analysis API’s do you use?

    • DMS + the APIs I’ve described above.
    • You can use the transformational aspect to get dynamic analysis.

    2.Why do you use it?

    • Mostly to support custom tool construction.
      Its amazing how many different questions people have about code,
      and how many ways they want to reshape a large application.

    3.Name one thing you have written with it?

    • B-2 Stealth Bomber JOVIAL-to-C translator (seriously, see website).
    • IBM Mainframe application architecture extraction.
    • Automated C++ component restructuring.
    • Clone Detection.
    • Test Coverage and Profilers
    • Smart Differencer
    • (See website for longer more detailed list)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm interested in trying out clang, for its static analysis capabilities. I'm currently working
What tools are there available for static analysis against C# code? I know about
I'm interested in the existence of any tools which can perform static analysis against
I am interested in using Firemonkey for producing an iOS app. There are several
I'm really interested in numerical analysis. I have been using DotNumerics Open Source Application.
I'm interested in learning about tools that operate like this: Given a database schema
What code analysis tools do you use on your Java projects? I am interested
Are there any AWK syntax checkers? I'm interested in both minimal checkers that only
Hey, I'm learning Haskell and I'm interested in using it to make static libraries
I am interested to find out if there is any sort of life-cycle of

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.