title: MSVC Remove esp, and JMC (CheckForDebugger) call generation for specific function
body: <p>I have a function I want to bounce to shellcode. for ease of use in the future, i'd like to not have to separately compile it or induce strict compiler settings on projects that may use it.</p>
  <p>I have 3 things i'd like to do</p>
  <p>disable JMC _CheckForMyDebugger call generation</p>
  <p>disable _Check_ESP call generation (done with __declspec(safebuffer))</p>
  <p>disable function comdat linking/jmp function linking</p>
  <p>All on a per function basis, any clues into what I can use to do this using MSVC?</p>