Phantom class creation
michaelphop opened this issue · 1 comments
michaelphop commented
In the following code:
Why do we pass false
to getSootClassUnsafe
?
Doesn't it make more sense to pass true
? (That if jclass is null, let's create a new fake sootClass and mark it as phantom)
silverbullettt commented
We would like to make this API (JClassLoader.loadClass(String)
) safer. If it passes true
, then it may also create a phantom class even if it receives an arbitrary string.