Coder Social home page Coder Social logo

modbus-fuzz-note's People

Contributors

m3m3m4n avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

modbus-fuzz-note's Issues

A segfault occurred when using afl-fuzz

Hello, I am using your modified aflnet-modbus to fuzz the modbus program. But encountered some difficulties:

I compiled and used the afl-fuzz main program according to the installation method you gave. The command used is as follows:

../../afl-fuzz -d -i in -o out -N tcp://127.0.0.1/1502 -P MODBUSTCP -m none -D 10000 -q 3 -s 3 -Q -R -K . /test-server

However, after execution of this command, afl-fuzz will crash after a random time, and the error message is: segmentation fault.

I used gdb to parse the core dump file. gdb shows that the error occurs in

memcpy(m->mdata, &out_buf[regions[i].start_byte], len); in afl-fuzz.c.

I tried again and again and this error still exists. I don't understand what went wrong. The available evidence seems to point to a memory issue, but I still can't pinpoint the problem and don't know how to fix it. Do you have any good suggestions or ideas? Looking forward to your reply

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.