Print

Print


@bbockelm,

Ok, this is what I did on my Archlinux host:
```
$ makepkg
...
$ cd src/build/src/CMakeFiles/XrdCryptossl-4.dir/XrdCrypto
$ strings XrdCryptosslCipher.cc.o | grep /home
/home/vladimir/pkgs/xrootd/src/xrootd-4.8.4/src/XrdCrypto/XrdCryptosslCipher.cc
```
Since I didn't understand why this should be in ```.rodata``` section I searched the Internet to find out how to "disassemble" the object file (I used mc to "view" object file in parsed and raw forms, in first case I didn't see that path but in the second case I see the path in literal) and found two links ([wikipedia](https://en.wikipedia.org/wiki/Executable_and_Linkable_Format) and [osdev.org](https://wiki.osdev.org/ELF)), so I tried that
```
$ objdump -s -j .rodata XrdCryptosslCipher.cc.o                                                                                                                   
                                                                                                                                                                                                                                              
XrdCryptosslCipher.cc.o:     file format elf64-x86-64

objdump: section '.rodata' mentioned in a -j option, but not found in any input file
```
I'm not very familiar with structure of object files but where that string lives in it?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/790#issuecomment-410165686

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1