Information processing apparatus and method of updating stack pointer
First Claim
1. An information processing device, comprising:
- an instruction execution part that outputs an access request including a first address information to specify an access destination based on an execution of an access command of an address space in a memory, and that outputs a check request including a second address information to specify a stack pointer point after extension based on an execution of a stack extension command to extend a stack included in the address space in the memory by updating a stack pointer;
a memory protection information storage section that stores a memory protection information to define a plurality of partial spaces from the address space, the partial space being accessible by the instruction execution part;
a protection violation detection section that detects whether the access destination includes the plurality of the partial spaces, by collating the first information with the memory protection information stored in the memory protection information storage section; and
a checking section that checks whether the stack pointer point includes a predetermined partial space among the plurality of the partial spaces, by collating the second address information with the memory protection information stored in the memory protection information storage unit, the predetermined partial space being retained preliminarily as a stack area enabling the stack.
2 Assignments
0 Petitions
Accused Products
Abstract
A instruction execution part of an information processing device outputs an access request including a first address information to specify an access destination based on an execution of an access command of an address space in a memory. The instruction execution part also outputs a check request including a second address information to specify a stack pointer point after extension based on an execution of a stack extension command to extend a stack included in the address space in the memory by updating a stack pointer. A protection violation detection section of the information processing device detects whether the access destination includes the plurality of the partial spaces by collating the first information with the memory protection information stored in the memory protection information storage section.
19 Citations
12 Claims
-
1. An information processing device, comprising:
-
an instruction execution part that outputs an access request including a first address information to specify an access destination based on an execution of an access command of an address space in a memory, and that outputs a check request including a second address information to specify a stack pointer point after extension based on an execution of a stack extension command to extend a stack included in the address space in the memory by updating a stack pointer; a memory protection information storage section that stores a memory protection information to define a plurality of partial spaces from the address space, the partial space being accessible by the instruction execution part; a protection violation detection section that detects whether the access destination includes the plurality of the partial spaces, by collating the first information with the memory protection information stored in the memory protection information storage section; and a checking section that checks whether the stack pointer point includes a predetermined partial space among the plurality of the partial spaces, by collating the second address information with the memory protection information stored in the memory protection information storage unit, the predetermined partial space being retained preliminarily as a stack area enabling the stack. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 12)
-
-
11. A method of updating a stack pointer of an information processing device including an instruction executing part and a memory protection information storage section storing a memory protection information to specify a plurality of partial spaces which enable an access by the instruction executing part from an address space, the method comprising:
-
outputting an access request including a first address information to specify an access destination by the instruction executing part corresponding to an execution of an access request to the address space; detecting whether the access destination is included in the plurality of the partial spaces, by collating the first address information with the memory protection information stored in the memory protection information storage section; outputting a check request including a second address information to specify a stack pointer point after extension corresponding to an execution of a stack extension request to extend a stack included in the address space, by updating a stack pointer; and checking whether the stack pointer point is included in a predetermined partial space among the plurality of the partial spaces, by collating the second address information with the memory protection information stored in the memory protection information storage section, the predetermined partial space being retained preliminarily as a stack area enabling the stack.
-
Specification