静态依赖性分析和DLL文件 [英] Static Dependency Analysis and DLL files

查看:89
本文介绍了静态依赖性分析和DLL文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我有第三方程序,其中包括以下内容:

So I have a 3rd party program which consists of the following:

1。 MyApp.exe

1. MyApp.exe

2。 A.dll

3。 B.dll

4。 C.dll

现在,MyApp.exe需要A,B,C dll文件来运行,这很好。

Now A,B,C dll files are required by MyApp.exe to run which is fine.

现在我去" ; ICE->工具 - >静态依赖性分析"并检查MyApp.exe和"Packages"下的依赖项。结果窗口显示它需要Windows Embedded Edition(已经在答案文件中),这也是很好的
。但是,在"未映射的依赖关系"下,选项卡将A,B,C dll文件列为缺失。我可以理解SDA只检查它附带的包(分发共享),因此它认为A,B,C dll文件甚至缺少
,尽管它们与MyApp.exe位于同一文件夹中。

Now I go to "ICE->Tools->Static Dependency Analysis" and check for dependencies for MyApp.exe and under the "Packages" tab of result windows it shoes that it requires Windows Embedded Edition (already in answer file) which is fine too. However, under the "Unmapped Dependencies" tab it lists A,B,C dll files as missing. I can understand that SDA only checks against the packages (Distribution share) that it ships with and therefore it thinks that A,B,C dll files are missing even though they are present in the same folder as MyApp.exe.

所以我的问题是:

1。有没有办法让SDA知道这些DLL文件,以便它不会产生误报?我们将它们复制到分布共享中的某个位置,以便在它的数据库中添加它们吗?

1. Is there any way to make SDA aware of these DLL files so that it does not produces false positives? CAn we copy them somewhere in the Distribution Share so that it adds those in it's database?

2。此外,当我包含MyApp.exe和A,B,C dll文件时,哪个文件最好放在目标文件系统下?可能在$ OEM $ Folders \ CustomCustoms \ $ OEM $ \system32下?

2. Also when I include MyApp.exe and the A,B,C dll files which is the best place to put them under the target filesystem? May be under $OEM$ Folders\Custom Files\$OEM$\system32 ?

谢谢!

 

 

 

 

 

推荐答案

我不确定你是不是如果您创建了"包",则会避免误报。适用于你的应用程序

I'm not sure if you will avoid a false positive feedback if you have created a "package" for your app in 


OEM


文件夹 - 但无论如何你创建了你的"包"。比你知道所有包含的文件都被复制了,所以我不知道你关心什么
关于?!
Folders - but anyway if you created your "package" than you know that all files which are included are copied, so i don't know what you care about?!

也许这就是你关心的原因?!

Maybe this is the reason you care about?!


这篇关于静态依赖性分析和DLL文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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