qt - How to detect "browser plug-in" library dependency before execution -
as know, there 2 methods of library loading.
1) static libraries (.a): library of object code linked with, , becomes part of application. 2) dynamically linked shared object libraries (.so), link @ execution of application , can used in 2 ways.
a) dynamically linked @ run time statically aware. b) dynamically loaded/unloaded , linked during execution (i.e. browser plug-in) using dynamic linking loader system functions.
after compilation, can check library dependency of type 'a' below
objdump -x usr/bin/flashcp
.....
dynamic section:
needed libgcc_s.so.1
needed libc.so.6
my question how check/detect type 'b' library dependency ? please suggest there way detect before execution ?
thanks in advance
thiru
there's no way check libraries loaded dynamically , functions called via function pointers.
in special cases, hack, can attempt various ways of reverse-engineering executable, e.g. statically analyzing code around calls loadlibrary
, getprocaddress
on windows. derive heuristics work on many executables, there's no way that's guaranteed work, other executing code in virtual machine , intercepting calls loadlibrary
/dlopen
happen.
Comments
Post a Comment