Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND DEVICE FOR DETECTING STACK OVERFLOW, ELECTRONIC APPARATUS, AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2021/062798
Kind Code:
A1
Abstract:
A method and device for detecting a stack overflow, an electronic apparatus, and a storage medium. The method comprises: determining, according to stack boundary information in a stack boundary configuration register, whether a current access to a memory address is an unauthorized access event (S101); if so, determining whether the currently accessed memory address meets a preset condition, wherein the preset condition comprises: the currently accessed memory address being located between an address of a top of the stack and an address of a bottom of the stack (S102); and if the preset condition is met, determining that a stack overflow has occurred (S103). The invention enables timely and accurate detection of a stack overflow without having to modify a kernel.

Inventors:
YIN GUOCHAO (CN)
Application Number:
PCT/CN2019/109723
Publication Date:
April 08, 2021
Filing Date:
September 30, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SHENZHEN GOODIX TECH CO LTD (CN)
International Classes:
G06F9/30; G06F21/52
Foreign References:
CN106919366A2017-07-04
CN109144756A2019-01-04
CN108268770A2018-07-10
CN107491373A2017-12-19
CN101154180A2008-04-02
US20190080082A12019-03-14
Attorney, Agent or Firm:
LEADER PATENT & TRADEMARK FIRM (CN)
Download PDF: