命令注入攻击、延续和Lambek演算
Command injection attacks, continuations, and the Lambek calculus
摘要:
本文展示了命令注入攻击,延续和Lambek演算之间的联系:某些命令注入,如对SQL的重言式攻击,被证明是一种控制效果的形式,可以使用Lambek演算进行类型化,推广了延续的双重否定类型。Lambek的句法演算是一个逻辑,其中两个隐含连接词分别从左和右获取它们的论点。这些连接词描述了在构建句法结构时,字符串如何与它们的左右上下文相互作用。微积分是一种没有结构规则的命题逻辑,因此是线性逻辑和分离逻辑等子结构逻辑的先驱。
英文摘要:
This paper shows connections between command injection attacks, continuations, and the Lambek calculus: certain command injections, such as the tautology attack on SQL, are shown to be a form of control effect that can be typed using the Lambek calculus, generalizing the double-negation typing of continuations. Lambek's syntactic calculus is a logic with two implicational connectives taking their arguments from the left and right, respectively. These connectives describe how strings interact with their left and right contexts when building up syntactic structures. The calculus is a form of propositional logic without structural rules, and so a forerunner of substructural logics like Linear Logic and Separation Logic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。