Static analysis tool to detect ABI breaks in C++

后端 未结 6 714
谎友^
谎友^ 2020-11-30 01:45

It\'s not very hard to break binary backwards-compatibility of a DSO/shared library with a C++ interface. That said, is there a static analysis tool, which can help detectin

6条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 02:23

    I remember at work they used GCC XML for testing binary compatibility. Basically what it does is generate an xml representation of the compiler object tree. The theory goes that if the xml is equivalent, they binary compatibility has been maintained.

提交回复
热议问题