Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR ACQUIRING ADDRESS OF FUNCTION, AND ELECTRONIC DEVICE
Document Type and Number:
WIPO Patent Application WO/2018/086313
Kind Code:
A1
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.

Inventors:
GISSIN VICTOR (CN)
ZHOU ZHI (CN)
Application Number:
PCT/CN2017/081547
Publication Date:
May 17, 2018
Filing Date:
April 22, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
International Classes:
G06F15/78
Foreign References:
CN103218428A2013-07-24
CN105224346A2016-01-06
CN103530184A2014-01-22
CN105786613A2016-07-20
US5860156A1999-01-12
Download PDF: