Suggested improvements from https://cc-sw.com/semgrep-guide-for-a-security-engineer-part-5-of-6/:
Remove IDA decorators that have shown to cause issues with Semgrep parser:
virtual thunk to
non-virtual thunk to
vtable for
typeinfo for
guard variable for
VTT for
See also: semgrep-vs-decompiler.zip
Ghidra has some decorators which we want to remove from our code files:
__thiscall
__cdecl
__noreturn
__fastcall
[TODO: check if they're indeed problematic and if there are others, consider opening an issue/PR with Semgrep]