Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Expressions setters need to modify its TokenStream appropriately #108

Open
TadeasKucera opened this issue Jul 1, 2020 · 1 comment
Assignees

Comments

@TadeasKucera
Copy link
Contributor

We need to design a proper way of exchanging Tokens of expressions that come as parameters for setter methods of expression classes.

StringAtExpression::setAtExpression(...)
StringInRangeExpression::setRangeExpression(...)
StringOffsetExpression::setIndexExpression(...)
StringLengthExpression::setIndexExpression(...)
UnaryOpExpression::setOperand(...)
BinaryOpExpression::setLeftOperand(...)
BinaryOpExpression::setRightOperand(...)
ForExpression::setVariable(...)
ForExpression::setIteratedSet(...)
ForExpression::setBody(...)
SetExpression::setElements(..................)
RangeExpression::setLow(...)
RangeExpression::setHigh(...)
StructAccessExpression::setStructure(...)
ArrayAccessExpression::setArray(...)
ArrayAccessExpression::setAccessor(...)
FunctionCallExpression::setFunction(...)
FunctionCallExpression::setArguments(..................)
ParenthesisExpression::setEnclosedExpression(...)
IntFunctionExpression::setArgument(...)
RegexpExpression::setRegexpString(...)
@TadeasKucera TadeasKucera self-assigned this Jul 1, 2020
@TadeasKucera
Copy link
Contributor Author

Also please improve the Rule::removeString method so it deletes all traces of the yara string from formatted text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants