我有一个WinForms .NET应用程序,根据启用UAC的Vista任务管理器,运行虚拟化"已禁用",即使我不记得在应用程序中添加带有"asInvoker"的清单.VS.NET(这个项目经历了VS.NET的所有四个版本)必须添加我在解决方案资源管理器中看到的\ Properties\app.manifest文件,但是这个文件不包含我希望禁用虚拟化的trustinfo元素.所以我启动了Reflector以查看可能嵌入到我的实际可执行文件中的内容,但是我找不到app.manifest文件.我是否应该能够在可执行文件中找到它的清单或标志?根据VS 2008,构建操作是BaseApplicationManifest,但这是否意味着它没有嵌入在exectable中?有人可以解释为什么我的应用程序在禁用虚拟化的情况下运行,如果我没有要求它,并且一旦解释,有人可以指向我找到通过Reflector在我的应用程序中导致此问题的工件吗?
作为app.manifest的后续,我的解决方案是谁知道多久,它充满了各种IPermissions,我不确定我还需要什么.什么为此文件添加内容,是否包含我不再需要的权限?它应该被修剪或管理吗?我应该向它明确添加trustinfo吗?我想app.manifest只是一个谜,我需要了解更多.
更新:从本文中,我了解到我可以使用SysInternals/Microsoft Sigcheck实用程序查看以下信息,但我不知道我的应用程序是如何使用MyApplication.app签名的.在构建过程中发生了什么?
c:\Users\Public\Programs\SysinternalsSuite>sigcheck.exe -m ceo.exe
sigcheck v1.54 - sigcheck
Copyright (C) 2004-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
"c:\Users\Public\Programs\SysinternalsSuite\ceo.exe":
Verified: Unsigned
File date: 1:47 PM 2/6/2009
Publisher: CEO Image Systems
Description: Main Menu
Product: Image Executive CEO
Version: 2.0.0.0
File version: 2.0.0.0
Manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Run Code Online (Sandbox Code Playgroud)
更新2:看起来我最终会到达那里.VS …
一些商业混淆器声称他们可以崩溃ILDASM(以及其他类似工具,如Reflector)
关于他们如何实现这一点的任何想法
正如在这里的众多主题中所述,有足够动力/时间/技能的人总能找到一种方法来阅读你的代码(即如果它是可运行的,它是可以反编译的),但在我看来,大多数随意的代码阅读器都不会打扰我的反编译如果Reflector无法为它们执行代码.
这个级别的保护我的知识产权(即,除了那些可能会找到解决方法的人之外,任何人都可以找到解决方法)对我来说肯定是足够的.
我有一个任务,我正在重建我们为许多项目丢失的一些来源.最多,它已经很好了,但当然在最后一个项目中,我遇到了一个错误,我无法找到任何解决方案.
我使用Reflector 8.1反编译DLL,它给了我所有源代码和一堆.resources文件.我一直在使用resgen程序将它们转换回.resx文件以包含在项目中.一个档案让我感到悲伤.请帮忙.
>resgen foo.resources foo.resx
Read in 106 resources from "foo.resources"
ResGen : error RG0000: Error while writing the output file "Resources.resx"
ResGen : error RG0000: Specific exception: "InvalidOperationException" Message: "Item named 'IncomingRing' of type 'System.IO.PinnedBufferMemoryStream' cannot
be added to the resource file because it is not serializable."
Run Code Online (Sandbox Code Playgroud)
2个错误.
有没有办法让反射器反汇编回新的c#构造?
自动实现的属性如下:
[CompilerGenerated]
private string <TypeName>k__BackingField;
public string TypeName
{
[CompilerGenerated]
get
{
return this.<TypeName>k__BackingField;
}
[CompilerGenerated]
private set
{
this.<TypeName>k__BackingField = value;
}
}
Run Code Online (Sandbox Code Playgroud)
字符串整数或对象的泛型类型出错:
Tuple<User,String><User,string>
更不用说为响应一些基于lambda的代码而生成的令人困惑的枚举器.
有任何想法吗?回到原始形式会很棒,但是进入相同的可编辑状态将是向前迈出的一大步.以上示例不是有效的C#代码.
我正在使用beta 7.2反射器,当我试图反映一些exe文件时,我看到了这条消息.这是什么意思 ?
谢谢
我想看一个字节数组的内容,但是Reflector不会显示它们.为什么?这是由于某些技术限制,还是只是Reflector未实现的功能?
有没有其他工具可以用来做到这一点?

Red Gate Ant Profiler或Reflector等工具如何将IL转换为C#或VB.NET代码?
我最近注意到Red Gate Ant Profiler不生成与最初编写的源代码相同的源代码.
它产生了一个while我用过的循环foreach.
这让我想到了.我在Reflector中打开了Reflector.exe,但是他们的代码大多数(并非全部)都是混淆的.
我用反射器直到试用期结束
我已成功解码了许多应用程序.通过我最近的帖子,我能够识别它还可以解码delphi.net vcl应用程序(d2007).
我可以解码delphi.net vcl并将其转换为ac#应用程序,可以使用visual studio完全编译成功.
嗨我试图修复此代码,以便编译,无法找到方法
错误:
Pro\AGeeksToy\Controls\LadderHeader.cs(218,98):错误CS0426:类型名称'menuData'在类型'AGeeksToy.CoreDataTypes.AGeeksToyToolStripMenuItem>中不存在
这是错误.
private void ChangeStakingType(AGeeksToyToolStripMenuItem<EnhancedType<StakingTypeEnum>>.menuData newType)
{
this.StakeBox.StakingType.Value = newType.Data.Value;
}
Run Code Online (Sandbox Code Playgroud)
AGeeksToyToolStripMenuItem类代码:
namespace AGeeksToy.CoreDataTypes
{
using System;
using System.Windows.Forms;
public abstract class AGeeksToyToolStripMenuItem<T> : ToolStripMenuItem, AGeeksToyMenu
{
public MouseButtons LastMouseButton;
public MenuData<T> menuData;
public static readonly VoidEventWithParam<MenuData<T>> RightClicked;
static AGeeksToyToolStripMenuItem()
{
AGeeksToyToolStripMenuItem<T>.RightClicked = new VoidEventWithParam<MenuData<T>>();
}
protected AGeeksToyToolStripMenuItem(T obj, string text) : this(obj, text, null)
{
}
protected AGeeksToyToolStripMenuItem(T obj, string text, Control ctrl)
{
base.DropDown.ImageList = IconManager.m_ImageList;
this.menuData = new MenuData<T>(obj, ctrl);
this.Text = text;
}
protected …Run Code Online (Sandbox Code Playgroud) reflector ×9
c# ×5
.net ×4
betfair ×1
cil ×1
decompiler ×1
decompiling ×1
delphi ×1
il ×1
obfuscation ×1
reflection ×1
resgen ×1
resx ×1
uac ×1