-
公开(公告)号:US20200272520A1
公开(公告)日:2020-08-27
申请号:US16801776
申请日:2020-02-26
Applicant: QUALCOMM Incorporated
Inventor: Richard SENIOR , Sundeep KUSHWAHA , Harsha Gordhan JAGASIA , Christopher AHN , Gurvinder Singh CHHABRA , Nieyan GENG , Maksim KRASNYANSKIY , UNNI PRASAD
IPC: G06F9/50 , G06F9/48 , G06F12/0806
Abstract: A method of managing a stack includes detecting, by a stack manager of a processor, that a size of a frame to be allocated exceeds available space of a first stack. The first stack is used by a particular task executing at the processor. The method also includes designating a second stack for use by the particular task. The method further includes copying metadata associated with the first stack to the second stack. The metadata enables the stack manager to transition from the second stack to the first stack upon detection that the second stack is no longer in use by the particular task. The method also includes allocating the frame in the second stack.
-
公开(公告)号:US20240403411A1
公开(公告)日:2024-12-05
申请号:US18697722
申请日:2022-11-17
Applicant: QUALCOMM Incorporated
Inventor: Sundeep KUSHWAHA , Arvind KRISHNASWAMY , Sergei LARIN , Can ACAR , Tianshuo SU , Awanish PANDEY , Richard SENIOR
Abstract: Various embodiments include methods and devices for maintaining control flow integrity in computing devices. Embodiments may include identifying indirect function call candidate functions from a source code by a compiler, replacing, by the compiler, an indirect function call from the source code with a call to a wrapper function, and collocating the indirect function call candidate functions in at least one range of addresses of memory by a linker. The wrapper function may be configured to determine whether an address to be passed to the indirect function call is within the at least one range of addresses of memory.
-