Open Arashimu opened 4 months ago
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?
Is there any method provided to generate jsClass? Or maybe I should rewrite the equivalent code of jsClass into jsFunction