Search in sources :

Example 1 with JCImageSymbol

use of com.ibm.dtfj.image.javacore.JCImageSymbol in project openj9 by eclipse.

the class ImageProcessBuilder method addRoutine.

public ImageSymbol addRoutine(ImageModule library, String name, long address) {
    ImagePointer addr = fImageAddressSpace.getPointer(address);
    ImageSymbol symbol = new JCImageSymbol(name, addr);
    JCImageModule mod = (JCImageModule) library;
    mod.addSymbol(symbol);
    return symbol;
}
Also used : ImagePointer(com.ibm.dtfj.image.ImagePointer) JCImageSymbol(com.ibm.dtfj.image.javacore.JCImageSymbol) ImageSymbol(com.ibm.dtfj.image.ImageSymbol) JCImageModule(com.ibm.dtfj.image.javacore.JCImageModule) JCImageSymbol(com.ibm.dtfj.image.javacore.JCImageSymbol)

Aggregations

ImagePointer (com.ibm.dtfj.image.ImagePointer)1 ImageSymbol (com.ibm.dtfj.image.ImageSymbol)1 JCImageModule (com.ibm.dtfj.image.javacore.JCImageModule)1 JCImageSymbol (com.ibm.dtfj.image.javacore.JCImageSymbol)1