kyak changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben/atusb 802.15.4 wireless, anelok and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
pcercuei has quit [Quit: dodo]
<kyak> ugh. The compiler has scattered data all over the file (it's .so library) instead of putting it into contiguous region. This actually used to be an XPM image (i.e. array of strings). During execution, everything is put back together - i.e. I can observe an array of strings with individual strings pointing to all over the place. What is the mechanism that does that?
<kyak> I'm actually interesting in pulling this XPM image from .so without running that .so. I kinda achieve what i want when running it in debugger with breakpoints
<kyak> strangely, when i compile .so myself, i see that XPM data is put into contiguous region of file. So I can easily pull it back. It must be some compiler optimizations or stripping, i guess
<kyak> i think i get it.. the mechanism is called relocation and readelf gives me them required addresses
jwhitmore has joined #qi-hardware
jwhitmore has quit [Ping timeout: 248 seconds]
pcercuei has joined #qi-hardware
rozzin has joined #qi-hardware
jwhitmore has joined #qi-hardware
jwhitmore has quit [Ping timeout: 246 seconds]
jwhitmore has joined #qi-hardware
jwhitmore has quit [Ping timeout: 248 seconds]
jwhitmore has joined #qi-hardware
jwhitmore has quit [Ping timeout: 245 seconds]
wpwrak has quit [Read error: Connection reset by peer]
rodgort has quit [Quit: Leaving]
rodgort has joined #qi-hardware
wpwrak has joined #qi-hardware