advanced-microcode-patching / shiva

A custom ELF linker/loader for installing ET_REL binary patches at runtime
Other
146 stars 13 forks source link

Handle STB_LOCAL global variables #20

Open elfmaster opened 1 year ago

elfmaster commented 1 year ago

Currently we cannot patch global variables that are locally binded. This should only take an hour or so to handle.

int foo(void)
{
      static int data_var = 5;
      printf("%d\n", data_var);
}