Title:
HOOK METHOD AND APPARATUS AT COMPILE TIME, DEVICE, AND STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2022/166669
Kind Code:
A1
Abstract:
A hook method and apparatus at compile time, a device, and a storage medium. The method comprises: first, receiving a hook code file and a target program source code (S101), the hook code file comprising the correspondence between preset positioning information and a preset object processing method; then, after the target program source code is converted into an abstract syntax tree, determining, from the abstract syntax tree, a node corresponding to the preset positioning information in the hook code file (S102); using the preset object processing method corresponding to the preset positioning information in the hook code file to modify the node corresponding to the preset positioning information in the abstract syntax tree to obtain an updated abstract syntax tree (S103); and finally, generating a target program on the basis of the updated abstract syntax tree (S104).
More Like This:
WO/2018/127557 | COMPILING DEVICE AND METHOD |
JP6874706 | How to generate application programs, devices, programs |
WO/2020/227883 | DATA PROCESSING METHOD, DEVICE, AND SYSTEM |
Inventors:
LIU FENGKAI (CN)
Application Number:
PCT/CN2022/073580
Publication Date:
August 11, 2022
Filing Date:
January 24, 2022
Export Citation:
Assignee:
BEIJING BYTEDANCE NETWORK TECH CO LTD (CN)
International Classes:
G06F8/41
Foreign References:
CN112799677A | 2021-05-14 | |||
CN111090433A | 2020-05-01 | |||
CN111352849A | 2020-06-30 | |||
CN106990955A | 2017-07-28 | |||
US20190227904A1 | 2019-07-25 | |||
US20130159976A1 | 2013-06-20 |
Attorney, Agent or Firm:
ZHIFAN & PARTNERS (CN)
Download PDF:
Previous Patent: SERVICE INDICATION METHOD AND APPARATUS
Next Patent: ELECTROCHROMIC DEVICE AND ELECTRONIC TERMINAL
Next Patent: ELECTROCHROMIC DEVICE AND ELECTRONIC TERMINAL