Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
rob_bb10
Posts: 26
Registered: ‎06-09-2013
My Device: N serial
Accepted Solution

How to the base address of shared library in runtime

on Unix, there is way:

cat /proc/<PID>/map

00400000-00401000 r-xp 00000000 08:01 2364347                            /home/zhangqianlong/Lib_test/a.out

 

 

on QNX, there isn't. only:

# ls -l
total 383618
-rw-------   1 devuser   dev5      196411392 Jun 09 08:25 as
-rw-------   1 devuser   dev5             41 Jun 09 08:25 cmdline
-rw-------   1 devuser   dev5             80 Jun 09 08:25 exefile

 

Is there command to check the process procmap ?

Contributor
rob_bb10
Posts: 26
Registered: ‎06-09-2013
My Device: N serial

Re: How to the base address of shared library in runtime

It's done. I already knew it. pidin -f aO | grep libname.so