GitHunt
RO

RoyWFHuang/userspace_livepatch

Livepatch a runtime program in Linux user space

This is livepatch program in userspace. You can use this program to update function at runtime.

here is example

  1. Start the program ==testlive==
  2. Using livepatch to attach it
  3. Input command in livepatch
dl foo foo.so
jmp func_J $foo:func1
q

You can see that the executing program has been modified.

$ ./testlive
in func_J
exit func_J
in main 3
in main 12
in main 12
in main 12

This program is base on ==ukaiukai@debian.or.jp==, You can read the REAME_ukai and modify it.

The copyright is the same as the original program.

Languages

C98.2%Makefile1.8%

Contributors

Created October 10, 2024
Updated October 27, 2024
RoyWFHuang/userspace_livepatch | GitHunt