ARTist icon indicating copy to clipboard operation
ARTist copied to clipboard

Support for injecting calls to non-Codelib methods

Open schrnz opened this issue 8 years ago • 0 comments

The current implementation of ArtUtils::InjectMethodCall assumes all invoked methods to be part of the codelib. Hence, trying to inject a non-Codelib method call results in crashes since the 'symbols' (method index etc) are only precomputed for the codelib class.

However, in some cases we want to inject calls to already existing methods of the app under compilation. In order to support this, we need a mechanism to resolve method indices etc lazily.

schrnz avatar Dec 21 '17 13:12 schrnz