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
View PDF 2 Cites 0 Cited by

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

Citation Information

Patent Citations

  • Fast firmware ROM method and device

    CN114035845A

  • Access method and device for solidified data in ROM, chip and storage medium

    CN115658188A