如何自动测试二进制兼容性?
可以在编译之前通过比较代码来完成吗?是否已经有任何工具可以做到这一点?
Can it be done before compiling, by comparing code? Is there any tools already doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ABI 合规性检查器 — 用于检查 C/C++ 库的向后 API/ABI 兼容性的工具:
*.abidump 文件是由 ABI Dumper 工具生成的旧库版本和新库版本的 ABI 转储。
icheck - C 接口 ABI/API 检查器:
shlib-compat - 使用 DWARF 调试信息的 ABI 兼容性检查器:
ABI Compliance Checker — a tool for checking backward API/ABI compatibility of a C/C++ library:
*.abidump files are ABI dumps of OLD and NEW library versions generated by the ABI Dumper tool.
icheck - C interface ABI/API checker:
shlib-compat - ABI compatibility checker that uses DWARF debug info:
我记得 Purify 有一些功能来验证构建之间的兼容性,采取看这里。
I recall Purify had some functionality to verify compatibility between builds, take a look here.