首页>
外国专利>
Stack overflow protection by monitoring addresses of a stack of multi-bit protection codes
Stack overflow protection by monitoring addresses of a stack of multi-bit protection codes
展开▼
机译:通过监视多位保护代码的堆栈地址来堆叠溢出保护
展开▼
页面导航
摘要
著录项
相似文献
摘要
A hardware monitor circuit includes an electronic control circuit coupled to a processing unit. The electronic control circuit generates multi-bit protection codes and directs operations of the hardware monitor circuit. A bus interface is coupled to an address bus of the processing unit, and the bus interface passes signals associated with a stack structure of the processing unit. The stack structure is arranged to store the multi-bit protection codes in an internal memory coupled to the processing unit. Comparators in the hardware monitor circuit are arranged to accept values from the internal memory and gating logic coupled to the comparators is arranged to generate an error signal when it detects that an address on the address bus read via the bus interface is equal to an address stored in the internal memory. Upon generating the error signal, the processing unit is placed in a secure mode.
展开▼