Comments (4)
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.
Do you have a sample?
from deobshell.
Here is a sample - I am having the same issue.
-
Raw PS1
ADOperatingSystems.txt -
Raw AST
ADOperatingSystems.ps1.txt
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deobshell.