Abstract:
The invention relates to an apparatus (100) for processing an abstract syntax tree being associated with a source code of a source program, the abstract syntax tree comprising a plurality of nodes, the apparatus (100) comprising a code virtualizer (101) being configured to associate the plurality of nodes of the abstract syntax tree with a plurality of calls of a target application programming interface upon the basis of a predetermined mapping data structure, the predetermined mapping data structure indicating semantic associations between the plurality of nodes and the plurality of calls, and to generate a virtualized code upon the basis of the plurality of nodes, the virtualized code indicating the plurality of calls of the target application programming interface.