SUSE / libpulp

libpulp enables live patching in user space applications.
GNU Lesser General Public License v2.1
55 stars 11 forks source link

Find address of reference to symbol by its name #94

Closed giulianobelinassi closed 2 years ago

giulianobelinassi commented 2 years ago

Before this patch, the user could only specify

 #target_symbol:target_symbol_ref:addr1:addr2

however, those address can change when you modify the livepatch sourcecode. Therefore, we now support:

 #target_symbol:target_symbol_ref

and now addr1 and addr2 will be collected analysing the target library and livepatch container automatically on packer time.

Signed-off-by: Giuliano Belinassi gbelinassi@suse.de