Method and device for patching rom, electronic equipment and computer readable storage medium

By using different methods to patch the ROM at the upper and lower levels of the call tree, the problem of inflexible patching methods in existing technologies is solved, and more efficient code modification and space optimization are achieved.

CN116185489BActive Publication Date: 2026-05-29KTMICRO ELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
KTMICRO ELECTRONICS
Filing Date
2023-02-23
Publication Date
2026-05-29

Smart Images

  • Figure CN116185489B_ABST
    Figure CN116185489B_ABST
Patent Text Reader

Abstract

The application provides a ROM patching method and device, electronic equipment and a computer readable storage medium. The method comprises the following steps: patching a first to-be-modified function on a ROM by using a first method; the first to-be-modified function is located at an upper layer of a call tree; the first to-be-modified function is a function that needs to call a basic function; patching a second to-be-modified function on the ROM by using a second method; the first method and the second method are different; the second to-be-modified function is located at a bottom layer of the call tree; the second to-be-modified function is a basic function.
Need to check novelty before this filing date? Find Prior Art