Go to file
Peace-Maker 88451023fb Fix changing of charptr and vectorptr returns and parameters
The new buffer/vector was freed before the old function was called with the new parameters
or the return value could be used by the called. This caused undefined behavior which seemed
to be fine before, where free didn't change the user-payload. free does change the user data now,
causing the changed values to be garbage.

Wait until the next frame before deleting the newly allocated buffers/vectors, so the original code had a chance
to use the live pointers. AddFrameAction might be a bad choice if our hook happens before the game ticks, but
we can tackle that problem when it happens ;)
2019-08-03 18:26:53 +02:00
buildbot Bump version 2018-11-21 20:15:22 +01:00
DynamicHooks Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
msvc10 Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
sdk Bump version 2018-11-21 20:15:22 +01:00
sourcemod Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
.hgignore Ignore build directory in .hgignore 2018-04-21 11:02:56 +02:00
AMBuildScript Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
changelog.txt Remove the need for SDK's. Update AMBuild scripts to AMBuild2. Fix shutdown crash. Update gamedata for testing. General code fixups. 2014-08-19 13:14:48 -04:00
configure.py Remove the need for SDK's. Update AMBuild scripts to AMBuild2. Fix shutdown crash. Update gamedata for testing. General code fixups. 2014-08-19 13:14:48 -04:00
credits.txt Remove the need for SDK's. Update AMBuild scripts to AMBuild2. Fix shutdown crash. Update gamedata for testing. General code fixups. 2014-08-19 13:14:48 -04:00
dynhooks_sourcepawn.cpp Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
dynhooks_sourcepawn.h More linux fixes 2018-01-27 17:27:03 +01:00
extension.cpp Don't call sourcepawn detour callbacks from threads other than the main thread 2018-05-02 13:37:41 +02:00
extension.h Don't call sourcepawn detour callbacks from threads other than the main thread 2018-05-02 13:37:41 +02:00
listeners.cpp Make sure hooks are entity hooks before removing. 2016-12-09 08:22:09 -05:00
listeners.h First draft of dynamic detours using Ayuto's DynamicHooks library 2016-12-11 22:02:10 -07:00
natives.cpp Fix changing of charptr and vectorptr returns and parameters 2019-08-03 18:26:53 +02:00
natives.h Remove functions now in util and fix more object related issues. 2016-08-30 16:40:24 -04:00
product.version Bump version 2018-11-21 20:15:22 +01:00
push.txt Trigger Build 2016-08-01 16:18:21 -04:00
sdk-hacks.h Change Vector classname to SDKVector. 2016-06-26 13:00:27 -04:00
signatures.cpp Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00
signatures.h Fix saving arguments in wrong order when parsing "Functions" section in gamedata 2018-04-21 11:50:07 +02:00
util.cpp Add support for custom calling convention passing arguments in registers 2018-01-23 03:15:03 +01:00
util.h Add support for custom calling convention passing arguments in registers 2018-01-23 03:15:03 +01:00
version.h Update version number 2016-08-01 16:20:19 -04:00
version.rc Remove the need for SDK's. Update AMBuild scripts to AMBuild2. Fix shutdown crash. Update gamedata for testing. General code fixups. 2014-08-19 13:14:48 -04:00
vfunc_call.h Fix getting the wrong stack size for calling functions. 2016-08-31 11:37:48 -04:00
vhook.cpp Fix changing of charptr and vectorptr returns and parameters 2019-08-03 18:26:53 +02:00
vhook.h Add support for the "fastcall" calling convention 2019-06-20 02:14:07 +02:00