求code存根发生器(来自头文件) [英] Seeking code stub generator (from header files)

查看:88
本文介绍了求code存根发生器(来自头文件)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想象一下,我有头文件的子系统,但对源$ C ​​$ C没有访问。

Imagine I have the header files to a subsystem, but no access to the source code.

现在我要生成存根,以匹配在头文件中声明(用于测试目的)的所有功能。

Now I want to generate stubs to match all functions declared in the header files (for testing purposes).

我写了一些简单的code要做到这一点,但它并不完美。没有人知道任何免费提供的软件,这将做到这一点?

I wrote some simple code to do this, but it's not perfect. Does anyone know of any freely available software which will do this?

[更新]问五年后,这个问题是仍然得到upvotes。

[Update] Five years after asking, this question is still getting upvotes.

据停课时,话题,它是时下(althoguh它不是当它最初被发布)。幸运的是,我们现在可以在 http://softwarerecs.stackexchange.com/

It was closed as of-topic, which it is nowadays (althoguh it was not when it was originally posted). Fortunately, we can now ask for software recommendations at http://softwarerecs.stackexchange.com/

推荐答案

我觉得 stubgen 可能是什么你后。

I think stubgen may be what you're after.

这篇关于求code存根发生器(来自头文件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆