To use this code fragment as a starter building block, you will need to replace the dummy links, database name, and login information to reflect your own environment.
为了将此代码片段用作起始构建块,您需要替换虚拟链接、数据库名称和登录信息来反映您自己的环境。
You should replace the dummy function with the code in listing 3.
应当使用清单3的代码替换这个虚构的函数。
The flow overrides the dummy map at runtime based on the country code in the incoming message.
该流在运行时根据收到消息中的国家代码重写虚拟映射。
Because this code is only a sample we don't perform any real error processing, but we do implement a dummy exception handler to allow the code to compile.
由于此代码仅仅作为样例使用,我们没有执行任何实际的错误处理,但是我们实现了一个虚构的异常处理程序,从而完成代码的编译。
Because this is just a dummy app for demonstration purposes and I wanted to keep the code as short as possible, I didn't check my input arguments as I would have for a realistic app.
因为这只是用于演示的虚拟应用程序,我想让代码尽可能简短,所以没像在实际应用程序中那样检查输入参数。
If the attacker is able to fill in just enough space with dummy data (i.e., NOPs) and then add a bit of malicious code or a value, the program will execute the malicious code or use that new value.
如果黑客能够用伪数据(也就是,NOP)填充足够的空间,然后添加一点恶意代码或值,那么程序将执行恶意代码或使用新值。
For expediency, rather than bother to implement the full JSSE client and server code, we decided to stub the JSSE functionality (the Talker class in Figure 6) to supply dummy XML messages.
为了方便起见,而不干扰实现整个JSSE客户端和服务器端的代码,我们决定去掉JSSE的功能(在图6中的talker类)来提供虚构的XML消息。
For expediency, rather than bother to implement the full JSSE client and server code, we decided to stub the JSSE functionality (the Talker class in Figure 6) to supply dummy XML messages.
为了方便起见,而不干扰实现整个JSSE客户端和服务器端的代码,我们决定去掉JSSE的功能(在图6中的talker类)来提供虚构的XML消息。
应用推荐