Search found 1 match
- Thu May 11, 2023 11:45 am
- Forum: Technical questions
- Topic: Problem: Address is already used by another function
- Replies: 6
- Views: 5617
Re: Problem: Address is already used by another function
I think this happens due to compiler optimization. Compiler is most likely inlines functionA() inside functionB() so that's why VMprotect throws that error. You could explicitly tell to compiler that you don't want functionB() to be inlined by adding __declspec(noinline) before function name, like t...