Code embedding method and device in application and electronic device
The invention discloses a code embedding method and device in an application and an electronic device, and the method comprises the steps: integrating an SDK into the application, and embedding the loading information of the SDK into a dynamic library information list of executable files of the appl...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
25.06.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a code embedding method and device in an application and an electronic device, and the method comprises the steps: integrating an SDK into the application, and embedding the loading information of the SDK into a dynamic library information list of executable files of the application according to a preset loading sequence; according to the file information of the SDK, modifying the offset information and the length information of the dynamic library loading information contained in the executable file; modifying the loading sequence number information of the original dynamic library contained in the executable file and the offset address information of the code corresponding to the original dynamic library in the executable file, and modifying the sequence number information of the position information of the original dynamic library in the code segment; and generating an update application file according to the modified executable file. According to the method,the SDK can be embedded i |
---|---|
Bibliography: | Application Number: CN201910173264 |