Invention Publication
- Patent Title: METHOD AND APPARATUS FOR SECURING INDIRECT FUNCTION CALL
-
Application No.: US17849960Application Date: 2022-06-27
-
Publication No.: US20230195886A1Publication Date: 2023-06-22
- Inventor: Gae-Il AN , Dong-Wook KANG , Bo-Heung CHUNG , Hong-Il JU , Byeong-Cheol CHOI
- Applicant: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
- Applicant Address: KR Daejeon
- Assignee: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
- Current Assignee: ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE
- Current Assignee Address: KR Daejeon
- Priority: KR 20210183848 2021.12.21
- Main IPC: G06F21/54
- IPC: G06F21/54

Abstract:
Disclosed herein is a method for securing an indirect function call according to an embodiment of the present invention. The method may include searching for an instruction that indirectly calls a function in intermediate representation code, calculating the number of functions that have to be allowed to be indirectly called based on the found instruction, identifying the address of a function loaded at the N-th lowest address arbitrarily set in advance, among the functions, the number of which is calculated, identifying indexes for selecting callee functions to be indirectly called based on the found instruction, determining whether to allow the function to be called using the identified indexes, and determining, when the function is allowed to be called, whether to allow the function to be called using the address of a callee function, the memory address of which is N-th lowest, among the callee functions.
Information query