User forums > General (but related to Code::Blocks)

opening a shared object (.SO) file

(1/3) > >>

Muttala:
Hi,
I am very new here.
I am trying to study the contain of an SO file.
Just wonder if a SO file is able to be opened by Code Block?

Sorry if I have bring in programing discussion...
I am just novice & this should be 1 time deal post, I just to know if Code Block can do this..? 

XayC:
Hi, welcome to the Code::Blocks forums!

I'm sorry but currently CB is not able to open shared libraries, not without a specific plugin at least, but I don't think anyone created it. And actually it makes sense since an IDE is not supposed to open object/binary files.

You can open binary files with an Hex editor. If you look for the .so format specification, I guess (not sure) it uses the ELF format.

Regards, XayC

Auria:
Also you need to understand a .so file is a compiled binary, you can't open it and see the code in it or something like that... all you could get is some general information, but you usually can get it from the terminal too, maybe that's what you meant?

MortenMacFly:

--- Quote from: Muttala on December 27, 2007, 04:15:32 pm ---Just wonder if a SO file is able to be opened by Code Block?

--- End quote ---
Yes, you can do that, also DLL's, and (e.g) object files. C::B uses the "nm" tools for that purpose. Hence you need a specific plugin to do so which is part of the contrib plugins. It's name is "SymTab" - symbol table plugin. You will see the contents of a object like file in terms of exported / used functions etc...

With regards, Morten.

XayC & Auria: Never under-estimate the power of C::B. ;-)

Auria:

--- Quote from: MortenMacFly on December 27, 2007, 09:54:25 pm ---XayC & Auria: Never under-estimate the power of C::B. ;-)

--- End quote ---

i stand corrected  :lol:

Navigation

[0] Message Index

[#] Next page

Go to full version