fuzzilli icon indicating copy to clipboard operation
fuzzilli copied to clipboard

Some features miss

Open Arashimu opened this issue 1 year ago • 1 comments

Is there any method provided to generate jsClass? Or maybe I should rewrite the equivalent code of jsClass into jsFunction

Arashimu avatar May 13 '24 09:05 Arashimu

Fuzzilli's IL fully supports classes: https://github.com/googleprojectzero/fuzzilli/blob/73f3ca1818724122b67ed437b7b224fc56adc400/Sources/Fuzzilli/FuzzIL/JsOperations.swift#L415 and here is an example of how to construct classes in the IL: https://github.com/googleprojectzero/fuzzilli/blob/73f3ca1818724122b67ed437b7b224fc56adc400/Tests/FuzzilliTests/ProgramBuilderTest.swift#L599 The JS->FuzzIL compiler should also support most class features. Does that answer your question?

saelo avatar Jul 22 '24 12:07 saelo