Closed ElektroKill closed 2 years ago
Note: This is most likely supposed to be done on IL Ast level, as it is just a special case of the normal a - b
operation:
By the way, the provided sample does not have a test case for R4 and R8. Could you maybe upload one?
Sure, here is a new version of the original sample which includes two new additional methods with test cases for R4 and R8. sample-new.zip
Describe the bug KoiVM converts the CIL
Neg
OpCode into two different expressions depending on the type.0 - a
in place of-a
~a + 1
in place of-a
To Reproduce Devirtualize sample file provided for issue #44.
Expected behavior The
Neg
OpCode should be emitted for both of the aforementioned expressions.Screenshots Example of 'obfuscated'
Neg
: