Forcing a method to become inline code?

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Forcing a method to become inline code?

Postby eric-914 » Mon Dec 10, 2012 10:54 pm

This probably isn't an S/A type of question, but does anyone know how to force the compilation to inline a method? I've got a method that returns if running in debug mode, and if so, overrides a few security checks. However, a hack would just need to override the return value. If this method is called a dozen times, it'd be a whole lot harder to hack if it was inlined for each of the 12 different call locations.
eric-914
 
Posts: 28
Joined: Fri Nov 30, 2012 5:51 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests