Invention Grant
- Patent Title: Code checking method and non-transitory computer-readable recording medium device
-
Application No.: US17885047Application Date: 2022-08-10
-
Publication No.: US11977867B2Publication Date: 2024-05-07
- Inventor: Yong-Bo Cai , Jun-Chen Zhang , Ming-Rui Li
- Applicant: REALTEK SEMICONDUCTOR CORP.
- Applicant Address: TW Hsinchu
- Assignee: REALTEK SEMICONDUCTOR CORP.
- Current Assignee: REALTEK SEMICONDUCTOR CORP.
- Current Assignee Address: TW Hsinchu
- Agency: Birch, Stewart, Kolasch & Birch, LLP
- Priority: CN 2210288737.2 2022.03.22
- Main IPC: G06F8/41
- IPC: G06F8/41 ; G06F8/30 ; G06F8/70

Abstract:
A code checking method includes: causing a compiler to generate a map file and a low-level code file(s) according to a high-level code file(s); obtaining target function information from the map file; finding a target code file from the low-level code file(s); obtaining a first return command of a target function name of the target function information from the target code file; traversing the low-level code file(s) to obtain each calling module name and a second return command of each calling function name; obtaining a second storage area of each calling module name from the map file; and generating a check failure result when calling of a target function name by each calling function name is not complied with a bank-switching compile form according to a first storage area of the target function information, the first return command, each second storage area, and each second return command.
Public/Granted literature
- US20230305821A1 CODE CHECKING METHOD AND NON-TRANSITORY COMPUTER-READABLE RECORDING MEDIUM DEVICE Public/Granted day:2023-09-28
Information query