Giter VIP home page Giter VIP logo

Comments (4)

bofeng17 avatar bofeng17 commented on July 18, 2024

I didn't try to compile firmware by ARMCC. From the error message, ..\Src\afl_call.c(11): error: #20: identifier "$0x3f" is undefined, it seems ARMCC has a different syntax for inline assembly from GCC. "$0x3f" is a constant that ARMCC fails to recognize.

from p2im.

findo avatar findo commented on July 18, 2024

Now I compile my project successfully. But AFL failed to start because All test cases time out, giving up! . And p2im prints qemu hangs(pid: 26155). seed input should not hang!
Have you ever met this error before ? Any idea to solve it ?

from p2im.

bofeng17 avatar bofeng17 commented on July 18, 2024

A longer AFL timeout value (in milliseconds) may help https://github.com/RiS3-Lab/p2im/blob/master/fuzzing/templates/fuzz.cfg.template#L29

from p2im.

dokodokoR avatar dokodokoR commented on July 18, 2024

@JerryWang304

Now I compile my project successfully. But AFL failed to start because All test cases time out, giving up! . And p2im prints qemu hangs(pid: 26155). seed input should not hang! Have you ever met this error before ? Any idea to solve it ?

How to change the assembly code? What else have you changed in the code below?

   __asm("svc $0x3f\n\t"
           "bx %lr\n\t");

from p2im.

Related Issues (20)

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.