在这些活动中,客户机或框架代码生成和响应验证需要进行的工作最多。
Of those activities, client or skeleton code generation and response verification require the most effort.
通过确保按需脚本被验证并确保从那些脚本生成的内容被适当编码以阻止恶意代码的执行,您可以避免这类漏洞。
You can prevent this vulnerability by ensuring that on-demand scripts are validated and that content generated from the scripts is encoded properly to prevent execution of malicious code.
用代码生成,您还可以将验证构建进所构造的类中,从而要么自动检查值(当设置好它们时),要么按照需要检查有效性。
With code generation, you can also build validation into the constructed classes, either automatically checking values when they are set or checking validity on demand.
测试验证所生成代码是正确的。
为了生成运行更加快捷并易于维护的代码,使用散列表存储命令行选项并使用散列验证用户指定的输入,这种方法非常有帮助。
To produce code that runs faster and is easy to maintain, it makes far more sense to use a hash table that stores the command-line options, then USES the hash to validate the user-specified input.
其中所具有的选项还使用户可以控制生成的代码文件是否是只读的,以及是否严格验证schema描述。
Options also allow the user to control whether generated code files are read-only, and whether the Schema description is strictly validated.
这个useBean 标记通过了验证,我们将稍后讨论生成的代码。
This useBean tag passes validation; we will see the generated code later.
除了每个实现类,Castor还生成描述符(descriptor)类,该类包含绑定和验证代码。
Along with each implementation class, Castor also generates a descriptor class that contains the binding and validation code.
正如所写的那样,只要代码没有生成异常,ActionForm成功验证,Struts就假定事情工作良好,测试用例也是一样。
As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.
在大多数应用中,开发者都需要手工编写业务逻辑与验证规则代码,而这些代码都不太容易自动生成,那代码生成工具是如何解决这个问题的呢?
In most applications, the developers need to hand-code business logic and validation rules that are not easy to auto-generate. How do the code generation tools address this requirement?
如果将该字符串设置为无效长度的值,该代码没有问题,但是生成的XML将无法通过验证。
If the string is set to a value with an invalid length, the code is OK, but the XML generated fails validation.
第三,自动生成的视图可以验证正确情况,在代码中验证它们是很麻烦的。
Third, the automatically generated view can verify positive cases that would be tedious to verify in code.
生成的代码和XML设计器验证 XML 文档使用的代码(MSXSD验证API)是同一类。
The generated code is the same kind of code that is used (MS XSD validation APIs) in the XML designer to validate XML documents.
分析一个二进制代码的通常方式有以下几个阶段:反汇编,过程抽象,控制流程图生成,数据流分析和签名验证。
The common approach for analysing a binary consists of the following stages: assembly, procedure abstraction, control flow graph generation, data flow analysis, and property verification.
描述如何生成和验证哈希代码。
使用哈希代码确保数据完整性描述如何生成和验证哈希值。
Ensuring Data Integrity with hash Codes describes how you can generate and verify hash values.
若要确定所使用的语言编译器是否生成可验证为类型安全的代码,请参见编译器的文档。
To determine whether the language compiler you use generates verifiably type-safe code, consult the compiler's documentation.
NET生成动态的彩色汉字验证码,并给出了实现生成动态的彩色汉字验证码的程序代码。
NET environment, then generating dynamic color Chinese characters certification code by employing the ASP. NET language, and giving entire detail of the coding.
脚本在生成许可代码、连接远程服务器或解决复杂字段验证方面非常有用。
Scripts are most useful when producing license codes, connecting to a remote server, or handling complex field validation.
这三部分工作是根据MDA的思想展开的,即系统设计者构建系统、对系统进行必要的分析验证、生成代码。
The three parts of the work is carried out under the MDA, that system designers build systems, analysis and test the systems and then generate code.
针对基于图像生成数控代码的准确性问题,采用了虚拟加工进行验证。
Aimed at the numerical control (NC) code generated based on images, process simulation is conducted to verify accuracy of the generated NC code.
针对基于图像生成数控代码的准确性问题,采用了虚拟加工进行验证。
Aimed at the numerical control (NC) code generated based on images, process simulation is conducted to verify accuracy of the generated NC code.
应用推荐