Giter Club home page Giter Club logo

Comments (4)

da1234cao avatar da1234cao commented on June 14, 2024 2

fix the question like this

 // off += snprintf(&buf[off], sizeof(buf) - off, " attr %x { id: %x, a: %x, b: %x }\n", attrn, attr.attribute_id, attr.a, attr.b);
int from_len;
from_len = snprintf(&buf[off], sizeof(buf) - off, " attr %x { id: %x, a: %x, b: %x }\n", attrn, attr.attribute_id, attr.a, attr.b);

if( from_len < 0 || from_len > sizeof(buf) - off)
     goto end;  
off += from_len;

from optee_fuzzer.

da1234cao avatar da1234cao commented on June 14, 2024

This is not a good question.
In the program.The optee_client/libteec/src/tee_client_api.c has been rewrite.
As normal ca/ta,It works likes before.
However,when we define variable AFL_TRACE_SVC . The second ca/ta will record the trace,which may be used as seed.

from optee_fuzzer.

21212124 avatar 21212124 commented on June 14, 2024

Hi @da1234cao I have the instrumentation not detected problem when running the fuzzer, any ideas?

from optee_fuzzer.

da1234cao avatar da1234cao commented on June 14, 2024

Undefined behavior out_of_bounds at core/kernel/afl_svc_trace.c:243 col 57

  1. run command AFL_TRACE_SVC=/tmp xtest
  2. in ca:regression_4006.25 Asym Crypto case 50 algo 0x60000030 line 2962
  3. in ta,there is a question:cryp_obj_populate[30](238980, *40008580:c0, 8E/TC:0 0 Undefined behavior out_of_bounds at core/kernel/afl_svc_trace.c:243 col 57
    E/TC:0 0 Panic at core/kernel/ubsan.c:222 <__ubsan_handle_out_of_bounds>

from optee_fuzzer.

Related Issues (13)

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.