Skip to content

Obtaining transformation rules #2

@chibinz

Description

@chibinz

Hi,

First of all really cool project!

I was trying use comby-decomposer for fuzzing. But the server printed out the following logs when I ran it together with afl-compiler-fuzzer. Main issue seems to be server.js trying to reference a rules folder containing toml files, preventing it from doing any meaningful mutations.

transforming... 
transforming:  stall(module,"xuxu")

picked mutation:  undefined
bizarre error:  TypeError: Cannot read properties of undefined (reading 'match')
    at transformSource (/nix/store/9sim7x18ljx73viplcfn0iqvlp700xbj-comby-decomposer/bin/server.js:126:45)
    at mutate (/nix/store/9sim7x18ljx73viplcfn0iqvlp700xbj-comby-decomposer/bin/server.js:193:12)
    at /nix/store/9sim7x18ljx73viplcfn0iqvlp700xbj-comby-decomposer/bin/server.js:198:12
    at Layer.handle éas handleèrequestê (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/layer.js:95:5)
    at next (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/route.js:144:13)
    at Route.dispatch (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/route.js:114:3)
    at Layer.handle éas handleèrequestê (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/layer.js:95:5)
    at /nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/index.js:284:15
    at Function.processèparams (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/index.js:346:12)
    at next (/nix/store/v9wahx2b4427p96l79scyqryfkhwgmnn-express-4.18.2/lib/nodeèmodules/express/lib/router/index.js:280:10)
picked mutation:  undefined

...
no mutation with matches

I wonder if it is possible to provide a format specification or share some example rules files in the repo? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions