fuzzilli icon indicating copy to clipboard operation
fuzzilli copied to clipboard

Unhandled node type Super

Open bb33bb opened this issue 2 years ago • 1 comments

node parser.js ../../Protobuf/ast.proto code.js output.ast.proto

content of code.js is // Copyright 2020 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file.

// Flags: --allow-natives-syntax --no-use-ic --super-ic

class A { bar() { } } class B extends A { foo() { return super.bar(); } } %PrepareFunctionForOptimization(B.prototype.foo); new B().foo(); %OptimizeFunctionOnNextCall(B.prototype.foo); new B().foo();

bb33bb avatar Jun 01 '23 13:06 bb33bb

Thanks, yes, these are not yet supported by our compiler, but we're happy to take PRs! See https://github.com/googleprojectzero/fuzzilli/issues/399#issuecomment-1564012050 for some general guidance on how to extend the compiler, and don't hesitate to ask for more specific guidance!

saelo avatar Jun 19 '23 07:06 saelo