summaryrefslogtreecommitdiff
path: root/src/ntutil.h
diff options
context:
space:
mode:
authornavewindre <nw@moneybot.cc>2024-07-12 05:40:41 +0200
committernavewindre <nw@moneybot.cc>2024-07-12 05:40:41 +0200
commit28f41cf689def99fb586bfca47b7e1786227a5a2 (patch)
tree4a843c7785035ca548625ccf988ac924b8815f85 /src/ntutil.h
parent2ebf959ec02048c15323e1bbfc63faedcf5067b6 (diff)
base shit
Diffstat (limited to 'src/ntutil.h')
-rw-r--r--src/ntutil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ntutil.h b/src/ntutil.h
index feca8f6..4891c02 100644
--- a/src/ntutil.h
+++ b/src/ntutil.h
@@ -16,7 +16,7 @@ struct MODULE_EXPORT {
};
struct MODULE_EXPORT64 {
- STR<256> name;
+ STR<1024> name;
U64 base;
};
@@ -243,8 +243,7 @@ inline std::vector< MODULE_EXPORT64 > module_get_exports64( U64 module_base, HAN
nt_read_vm64( proc, ords + 0x2 * i, &ord, 0x2 );
nt_read_vm64( proc, funcs + 0x4 * ord, &func, 0x4 );
-
- ret.push_back( { STR<128>( name ), module_base + func } );
+ ret.push_back( { STR<1024>( name ), module_base + func } );
}
return ret;