10 Jan
2025
10 Jan
'25
1:12 a.m.
how would hotpatching work? well step 1 would be to look at the bytecode of the function. it would make sense to also pass it through the 'dis' module. then since the goal is to mutate a constant, see if you can see that constant anywhere. what would you do to mutate the constant given the output? write that into code and package it into a constant-hotpatching package