Comments (4)
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.
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.
Hi @da1234cao I have the instrumentation not detected problem when running the fuzzer, any ideas?
from optee_fuzzer.
Undefined behavior out_of_bounds at core/kernel/afl_svc_trace.c:243 col 57
- run command
AFL_TRACE_SVC=/tmp xtest
- in ca:regression_4006.25 Asym Crypto case 50 algo 0x60000030 line 2962
- 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)
- Build Instructions HOT 9
- make error HOT 7
- start AFL HOT 1
- ERROR: __sanitizer_cov_trace_pc
- How to call __afl_log HOT 1
- "error: corrupt patch at line 124 "when I applying a patch to the build system,an error occured. HOT 9
- An unexpected error while fuzzing optee
- For seeding formats HOT 1
- Where is "afl-tee" directory? HOT 3
- For coverage
- For argument generating
- AFL_TRACE_SVC HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_fuzzer.