发明授权
- 专利标题: Simple stack types
- 专利标题(中): 简单堆栈类型
-
申请号: US12119151申请日: 2008-05-12
-
公开(公告)号: US07975121B2公开(公告)日: 2011-07-05
- 发明人: Juan Chen , Chris Hawblitzel , Frances Perry
- 申请人: Juan Chen , Chris Hawblitzel , Frances Perry
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Lee & Hayes, PLLC
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
Embodiments that facilitate type checking of assembly language instructions are disclosed. In one embodiment, a method includes receiving a low level language instruction in a memory. The instruction includes a word having a first type. The memory includes either a stack or a heap. Each of the stack or heap includes a plurality of positions. The method also includes labeling the plurality of positions in one of the stack or the heap as one or more specified positions and one or more unspecified positions. The method further includes assigning a second type to the memory, the second type including the first type of the word. The word is stored in a specified position or an unspecified position. The method additionally includes determining whether the instruction is well-typed by applying one or more rules to the instruction and to the second type.
公开/授权文献
- US20090282208A1 SIMPLE STACK TYPES 公开/授权日:2009-11-12
信息查询