added code to calculate the address of dlopen().