DynamoRIO / DynamoRIO/dynamorio

Targeted tests for trace building

Open
#5,057 3 comments 0 reactions 0 assignees View on GitHub
Component-Tests OpSys-AArch64 OpSys-x86
Dominant language
C
Stars
3.2k
Forks
630
Avg merge
2d 13h
Merged PRs (30d)
31

Description

Today we have very limited testing for trace building. `client.events` has tests for the trace client event. `client.null_instrument` only verifies whether a trace is built or not. Mostly we rely on implicit trace creation in other tests in our suite, which doesn't allow detection of bugs besides those that would cause crashes. We should add comprehensive testing for corner cases.

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing trace-client-event tests in `client.events` and the trace existence check in `client.null_instrument`. Identify the trace-building corner cases that are currently untested and add coverage beyond crash detection. Done means the relevant trace-building behavior is exercised by targeted tests and the test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.