Siirry sisältöön
Softagram
  • Etusivu
  • Palvelut
    • Toiminnanohjaus
    • Tekoälypalvelut
    • Tietoturvapalvelut
  • Yritys
  • Ota yhteyttä
  • Uutiset ja oppaat
    • Uutiset
    • Oppaat
  • Tech
  • Kirjaudu sisään
  • Ota yhteyttä
Softagram
      • Etusivu
      • Palvelut
        • Toiminnanohjaus
        • Tekoälypalvelut
        • Tietoturvapalvelut
      • Yritys
      • Ota yhteyttä
      • Uutiset ja oppaat
        • Uutiset
        • Oppaat
      • Tech
    • Kirjaudu sisään
    • Ota yhteyttä

    C++ analysis frequently asked questions

    Reference
  • Kaikki blogit
  • Oppaat
  • C++ analysis frequently asked questions
  • 15. heinäkuuta 2020 kirjoittanut
    C++ analysis frequently asked questions
    Ville Laitila

    Does analysis identify dependencies to virtual functions?

    Analysis catches function references just to the base classes, not to the implemented dynamic, which comes from nature of static analysis.

    Does analysis recognize function pointers and to where function calls target when called through a pointer?

    Analysis recognizes the function reference (the name of the function) where used, but does not analyze the usage of pointers and this way is not able to detect what are the actual function call targets.

    How the analysis is able to correctly resolve included headers and real code instead of some dead files that are not compiled at all?

    Build output usually contains compiler commands. Each compiler command such as gcc foo.cpp contain information about compile units (foo.cpp) and may also contain information about preprocessor defines and include directories. Those pieces of information are collected and fed into the analyzer that does preprocessing to improve reliability of the analysis. You may let Softagram run your build tool if there are no hard dependencies, so that the build output can be generated on-fly as part of the analysis process, or you may provide e.g. Jenkins or AzureDevOps based build output storage for Softagram usage.

    What if build log cannot be produced on Softagram server and I there is no automated builds for pull requests?

    Well, you should have automated builds for pull requests.

    Originally published at help.softagram.com

    in Oppaat
    # Softagram Analyzer

    Älyä toiminnanohjaukseen

    Olemme intohimoinen tiimi, jonka tavoitteena on parantaa kaikkien elämää mullistavien tuotteiden avulla. Kehitämme loistavia tuotteita liiketoimintasi ongelmien ratkaisemiseksi. Tuotteemme on suunniteltu pienille ja keskisuurille yrityksille, jotka haluavat optimoida suorituskykynsä.

    Ota yhteyttä

    Softagram Oy
    Ketolanperäntie 469 
    90450 ​Kempele 

    • +358504836173
    • info@softagram.com
    Seuraa meitä
    Copyright © Softagram Oy
    Järjestelmää pyörittää Odoo - Luo ilmainen verkkosivu