分析大型的程序(如Sendmail,大约有50,000行程序码)不是一个简单的工作。
Analyzing large programs like Sendmail (approximately 50,000 lines of code) is no easy task.
首先,一个字节码流能够精确描述执行程序所需的操作,编译成字节码实际上隐性地跳过了不相关的语法结构。
First, a bytecode stream exactly describes the operations needed to execute a program. Compiling to bytecode implicitly strips away irrelevant grammatical structure.
如果JIT被禁用了,那么JVM启动会很快,但是在大部分情况中,运行程序的速度都会与解释字节码的速度一样慢。
If JIT is disabled JVM starts quickly but in most cases runs slowly as all byte-code is being interpreted.
调试这个问题的一种方法是对这个可执行程序执行objdump命令,并将其结果保存到一个文件中;然后查找出错的指令(在本例中,出错的操作码是98080000)。
One way of debugging this failure is to do an object dump of the executable and save it in a file, then search for the failed instruction (in this case, the failed opcode is 98080000).
合并模组可以传递共用元件,而自订动作则会在安装结束时执行程序码,以执行无法在安装期间处理的动作。
Merge modules can deliver Shared components, and custom actions run code at the end of an installation to perform actions that cannot be handled during installation.
例如,您可设定以此电脑上组建代理程序为目标的组建定义,让这些定义清除工作区、执行所有测试并执行程序码分析。
For example, you could set up the build definitions that target the build agents on this machine so that the definitions clean the workspace, perform all tests, and run code analysis.
这些攻击往往来自恶意程序码,而这些程序码常借由执行程序码的使用者权限而执行。
Often these attacks come from malicious code that executes with the permissions of the user running the code.
若要使执行效能最佳化,您可以让您的程序码执行较少的堆叠查核行程,然而,您必须确定并没有泄露任何安全漏洞。
To optimize performance, you can have your code perform fewer stack walks; however, you must be sure that you do not expose a security weakness whenever you do this.
这些程序码特性被称为辨识项,可以包括要从它下载程序码的网站或区域,或发行程序码之厂商的数位签章。
The code characteristics are called evidence and can include the Web site or zone from which the code was downloaded, or the digital signature of the vendor who published the code.
使用者介面应用程序中的一些常见事件范例,像是利用使用者动作(例如按一下按钮)执行程序码区段。
Some common examples of events are found in user interface applications where a user action such as clicking a button causes a segment of code to execute.
能够安全保护资源不受到参考组件中未受信任程序码存取的唯一方式,是使用没有包含这些使用权限的授权集来执行程序码。
The only way to securely protect resources from untrusted code in referenced assemblies is to execute that code with a grant set that does not include those permissions.
找出必须完整执行的程序码以及要执行程序码所在的物件。
Identify the code that must be executed atomically and the object on which the code will be executed.
需求将在您的程序码被呼叫时叫用堆叠查核行程,在堆叠上检查直接或间接呼叫程序码的所有呼叫端。
Demands invoke a stack walk, in which all callers that directly or indirectly call your code are checked on the stack when your code is called.
您无法从载入仅限反映之内容中的组件,执行程序码。
You cannot execute code from an assembly that has been loaded into the reflection-only context.
在透过取样进行程序码剖析时,指定计数器事件做为取样间隔。
Specify a counter event as the sampling interval when you profile by sampling.
在 [将程式码剖析工具附加至处理序]对话方块中,按一下您要进行程式码剖析的处理序。
On the Attach Profiler to Process dialog box, click the process that you want to profile.
讨论一些侦错功能,这些功能可让您在中断模式下执行程序码时,对程序码进行变更。
Discusses the debugging feature that enables you to make changes to your code while it is executing in Break mode.
如果您在测试之间变更实际执行程序码,便无法合并原始程序码测试结果和变更过的程序码测试结果。
If you change your production code between tests, you cannot merge results from testing the original code with results from testing the changed code.
在来源视窗中,按一下您要设定中断点的可执行程序码行。
In a source window, click a line of executable code where you want to set a breakpoint.
这样让您能在侦错指令码中掷回例外状况,以协助进行侦错流程,而且也可以将发行程序码最小化,以突显效能。
This enables you to throw exceptions in debug scripts that are helpful to the debugging process, while minimizing the size of release code to emphasize performance.
区块中的程序码可以执行程序设计陈述式,然后呼叫目前网页类别中的函式。
The code in the block can execute programming statements and call functions in the current page class.
您无法从载入仅限反映之内容中的组件,执行程序码。
You cannot execute code from an assembly loaded into the reflection-only context.
如果在要合并结果的测试之间,您重新编译了实际执行程序码,有时候合并结果会失败。
Merging results will sometimes fail if you have recompiled your production code between the tests whose results you want to merge.
堆叠查核行程要求呼叫堆叠中的所有程式码都必须具有存取受保护资源的使用权限。
The stack walk requires that all code in the call stack has permission to access a protected resource.
如果呼叫组件没有足够的使用权限可连结至您的程序码,则在载入和执行程序码时将不允许连结并会掷回一个执行阶段例外状况。
If the calling assembly does not have sufficient permission to link to your code, the link is not allowed and a runtime exception is thrown when the code is loaded and run.
在录制的巨集中加入一或多行程序码。
使用元件的网页开发人员可以将属性通知事件系结至自己的处理常式,每当属性值变更时就执行程式码。
Page developers who use the component can bind the property notification event to their own handler to run code when the property value changes.
您可以在执行程序码之前提高您的权限,其方式是以滑鼠右键按一下应用程序图示,并指出您想要以系统管理员的身分执行。
You can elevate your privileges before you execute the code by right-clicking the application icon and indicating that you want to run as an administrator.
这确保所参考的使用权限集中的使用权限和执行程式码所在之处相同。
This ensures that the permissions contained in the permission set referenced will be the same wherever the code is run.
取得在程序被停止以进行侦错时,执行绪正在执行程序码的位址。
Gets the address at which the thread was executing code at the time the process was stopped for debugging.
应用推荐