Questions tagged [hotpatching]
21 questions
1
vote
0 answers
How to create Hotpatchable Image for .NET dll?
I had read about the ability to update Windows Server OS without rebooting it using Windows Hotpatching functionality. MSDN says that Hot Patching can be enabled for VC++ projects with a simple switch.
Is there a similar switch/setting for .NET…

Ganesh R.
- 4,337
- 3
- 30
- 46
0
votes
0 answers
How to modify a Linux kernel header file without compiling like livepatch?
I want to change struct members layout in a header file to prevent false sharing.But I have to recompile the entire kernel and install the new kernel after that.
Is there any methods to modify Linux kernel header file without recompiling the entire…

Mercurial
- 1
- 2
0
votes
2 answers
how to hotpatch phar package?
how do you hotpatch a phar package? for example if i want to hotpatch
if (function_exists('posix_getuid') && posix_getuid() === 0) {
if ($commandName !== 'self-update' && $commandName !== 'selfupdate') {
$io->writeError('Do not run Composer…

hanshenrik
- 19,904
- 4
- 43
- 89
0
votes
0 answers
linux process TEXT segment expansion
I am working with processes and i need to replace function in text segment, but if function will be larger then old it could overwrite something. So i wont to paste new function somwhere in virtual memory and then change pointers from old function.…

ipolit__
- 23
- 4
0
votes
1 answer
How to call original function after hotpatch
I've written code to patch the "Sleep" function for example from Kernel32.dll. The patching works perfectly fine. The removal of the patch works perfectly fine. However, calling the original function does not work at all. It crashes badly.
#include…

Brandon
- 22,723
- 11
- 93
- 186
0
votes
4 answers
Adding N count of bytes at the end of a function for hotpatching
Is it possible to add N count of bytes at the end of the function?
My simple idea is to add the following code:
_asm {
NOP
NOP
NOP
NOP
NOP
}
Are there any other ways to do it? (with code, compiler or other methods)
I need it for…

RIscRIpt
- 163
- 3
- 12