mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Correctly terminate strings in stub DLLs.
This commit is contained in:
parent
adfdff8fb7
commit
bfa611ae6e
@ -12,6 +12,8 @@ Version ???:
|
|||||||
|
|
||||||
Update: Log DLL and function names in ipxwrapper.log when call logging
|
Update: Log DLL and function names in ipxwrapper.log when call logging
|
||||||
is enabled.
|
is enabled.
|
||||||
|
|
||||||
|
Bugfix: Correctly terminate stub DLL names.
|
||||||
|
|
||||||
Version 0.2.1:
|
Version 0.2.1:
|
||||||
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using
|
Bugfix: Delay stub DLL LoadLibrary calls until first API call as using
|
||||||
|
@ -36,9 +36,9 @@ print CODE "section .rdata:\n";
|
|||||||
|
|
||||||
if(@ARGV == 3) {
|
if(@ARGV == 3) {
|
||||||
print CODE "\tglobal\t_dllname\n";
|
print CODE "\tglobal\t_dllname\n";
|
||||||
print CODE "\tdllname_s:\tdb\t'".$ARGV[2]."'\n";
|
print CODE "\tdllname_s:\tdb\t'".$ARGV[2]."', 0\n";
|
||||||
print CODE "\t_dllname:\tdd\tdllname_s\n";
|
print CODE "\t_dllname:\tdd\tdllname_s\n";
|
||||||
print CODE "\tcall_fmt\tdb\t'\%s:\%s'\n";
|
print CODE "\tcall_fmt\tdb\t'\%s:\%s', 0\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $func(@stubs) {
|
foreach my $func(@stubs) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user