Powershield cannot support try... Catch... Structure

Source: Internet
Author: User

Powershield cannot support the try... catch... structure.

When splitting code, powershield does not correct some branch addresses of try as new addresses, resulting in branch loss. Therefore, powershield cannot support the try... catch... structure.

A simple example:

Try
MessageBox ("", 1)
I = I/(I-I)
Catch (runtimeerror ER)
MessageBox ("", 2)
Finally
MessageBox ("", 3)
End try

 

Normally, msg1, 2, 3. After obfuscation, only msg1. then exit by mistake.

20130515

In addition, in catch, it is normal to make an IF (catch result) then jump to Exception Handling. After obfuscation, this logic judgment is forcibly changed to "unconditional jump" to the end try position, that is to say, the judgment of skipping to the exception handling location is discarded. I think that's why only msg1 is used.

Conclusion: powershield cannot support the try... catch... structure.

 

Advertisement by the way: My new Pb obfuscator test download (lower to pb5, upper to pb12.5)

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.