Search International and National Patent Collections

1. (WO2018086313) METHOD FOR ACQUIRING ADDRESS OF FUNCTION, AND ELECTRONIC DEVICE

Pub. No.:    WO/2018/086313    International Application No.:    PCT/CN2017/081547
Publication Date: Fri May 18 01:59:59 CEST 2018 International Filing Date: Sun Apr 23 01:59:59 CEST 2017
IPC: G06F 15/78
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: GISSIN, Victor
吉辛⋅维克多
ZHOU, Zhi
周智
Title: METHOD FOR ACQUIRING ADDRESS OF FUNCTION, AND ELECTRONIC DEVICE
Abstract:
Provided are a method for acquiring an address of a function, and an electronic device. The method comprises: acquiring, according to a jump table, a target slot number of a target function, a jump table section comprising a plurality of functions, the target function being any one of the plurality of functions, the jump table section further comprising a plurality of slots and a slot number corresponding to any one of the plurality of slots, the target slot number being a slot number corresponding to a target slot, the target slot being a slot in which a starting address of the target function is located; and acquiring, according to the target slot number, an address of the target function, the address of the target function being the staring address of the target function in the jump table section. The method can quickly acquire an address of a function while reducing an amount of memory occupied by a jump table, thereby effectively reducing memory occupation overheads.