obs-studio/plugins
jp9000 a6aa2f9204 win-capture: Add 64bit bounce to func_hook
When hooking 64bit functions, sometimes the offset between the function
being hooked and the hook itself can be large enough to where it
requires a 64bit offset to be used.  However, because a 64bit jump
requires overwriting so many code instructions in the function, it can
sometimes overwrite code in to an adjacent function, thereby causing a
crash.

The 64bit hook bounce (created by R1CH) is designed to prevent using
very long jumps in the target by creating executable memory within a
32bit offset of that target, and then writing it with the 64bit long
jump instruction instead.  Then in the target function, it will jump to
that memory instead, thus forcing the actual hooked function to use a
32bit hook instead of a 64bit hook, and using at most 5 bytes for the
actual hook, preventing any likelihood of it overwriting an adjacent
function.
2015-07-03 12:17:25 -07:00
..
coreaudio-encoder coreaudio-encoder: Register get_properties 2015-07-02 10:05:31 +02:00
decklink decklink: Use audio/video timestamps from SDK 2015-07-01 20:03:10 -07:00
image-source UI: Add latest translations from CrowdIn 2015-03-25 20:51:25 -04:00
linux-capture Add latest translations from CrowdIn 2015-05-08 17:10:39 -04:00
linux-jack linux-jack: Add include directory to cmake 2015-05-04 22:37:17 +02:00
linux-pulseaudio linux-pulseaudio: Add include directory to cmake 2015-05-04 22:37:17 +02:00
linux-v4l2 Add latest translations from CrowdIn 2015-05-08 17:10:39 -04:00
mac-avcapture mac-avcapture: Fix NSString being initialized with NULL 2015-05-31 04:43:23 +02:00
mac-capture mac-capture: Get cursor visible setting on create 2015-04-02 17:48:22 -07:00
mac-syphon UI: Add latest translations from CrowdIn 2015-03-25 20:51:25 -04:00
obs-ffmpeg obs-ffmpeg: Add ffmpeg muxer 2015-06-21 22:34:49 -07:00
obs-filters obs-filters: Add gain filter 2015-06-26 06:11:54 -07:00
obs-libfdk (API Change) Remove encoder callback boilerplate 2015-04-17 20:17:43 -07:00
obs-outputs obs-outputs: Reset frame drop variables on start 2015-04-18 00:47:00 -07:00
obs-x264 obs-x264: Call video info func to get format 2015-04-17 20:17:45 -07:00
rtmp-services rtmp-services: Update Twitch ingests 2015-06-20 01:39:33 -07:00
text-freetype2 text-freetype2: Fix undefined behavior for alpha > 127 2015-05-31 04:45:40 +02:00
win-capture win-capture: Add 64bit bounce to func_hook 2015-07-03 12:17:25 -07:00
win-dshow win-dshow: Add audio output mode options 2015-06-05 10:49:50 -07:00
win-wasapi win-wasapi: Fix capture during silence 2015-04-15 19:42:37 +03:00
CMakeLists.txt coreaudio-encoder: Make encoder available on windows 2015-06-07 04:22:24 +02:00