IRC log for #qi-hardware on 20190505

05:58.53kyakugh. 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?
05:59.39kyakI'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
06:00.58kyakstrangely, 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
06:41.18kyaki think i get it.. the mechanism is called relocation and readelf gives me them required addresses
11:48.53*** join/#qi-hardware jwhitmore (~jwhitmore@host86-186-203-178.range86-186.btcentralplus.com)
15:55.07*** join/#qi-hardware pcercuei (~paul@190.163.254.58)
17:52.54*** join/#qi-hardware rozzin (23963ea3bf@feep.hackerposse.com)
19:24.24*** join/#qi-hardware jwhitmore (~jwhitmore@host86-186-203-178.range86-186.btcentralplus.com)
20:26.43*** join/#qi-hardware jwhitmore (~jwhitmore@host86-186-203-178.range86-186.btcentralplus.com)
20:46.47*** join/#qi-hardware jwhitmore (~jwhitmore@host86-186-203-178.range86-186.btcentralplus.com)
22:29.53*** join/#qi-hardware rodgort (~rodgort@68.ip-149-56-14.net)
22:37.04*** join/#qi-hardware wpwrak (~werner@196-163-231-201.fibertel.com.ar)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.