Code Monkey home page Code Monkey logo

Comments (4)

joeavanzato avatar joeavanzato commented on June 27, 2024 2

You are a boss - really, fixing a bug within 4 hours of having a sample is amazing (especially since this was opened a year ago lol), props to you!

I am using your tool in a combined ML workflow to analyze suspicious PowerShell files with both text classification and DNN learning - thank you very much for such an interesting approach to AST simplification/analysis.

(I confirmed that your patch mitigates the issue I was experiencing and this bug can probably be closed)

from deobshell.

thewhiteninja avatar thewhiteninja commented on June 27, 2024

Do you have a sample?

from deobshell.

joeavanzato avatar joeavanzato commented on June 27, 2024

Here is a sample - I am having the same issue.

I have taken your code and basically merged certain sections with my own - I am first converting .ps1 into raw AST, then calling optimizer in same way as yourself - I am getting infinite messages like below;

'[02-17-2023 11:52:51] [DEBUG] Fix typename case from 'string' to 'String''

This happens on a few files and I'm not sure why but it is getting stuck in a loop - I am trying to debug as well.

from deobshell.

thewhiteninja avatar thewhiteninja commented on June 27, 2024

There was a problem with opt_type_constraint_case which change string to String and opt_type_constraint_from_convert which replace the type of TypeConstraintAst nodes with the static type of ConvertExpressionAst, in this case String to string.

fixed with 67e713c

from deobshell.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.