DynamoRIO / DynamoRIO/dynamorio

decode-bad-stack test failing (non-det) with "instr_encode_error: operands invalid"

Open
#2,216 1 comment 0 reactions 0 assignees View on GitHub
Bug-Assert Component-Tests Hotlist-ContinuousIntegration
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

AFAIK nobody has ever seen this before:

https://travis-ci.org/DynamoRIO/dynamorio/jobs/204498268

```
93/263 Test #92: code_api|security-common.decode-bad-stack ........................***Failed Required regular expression not found.Regex=[^Bad instr about to happen
Got an illegal instruction
$
] 0.38 sec
Bad instr about to happen

```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the code_api|security-common.decode-bad-stack test from the linked Travis CI job and compare its expected output with the reported instr_encode error. Trace the failing non-deterministic path from the test output into the x86 instruction encoding code mentioned in the log; done means the test reliably reaches its expected illegal-instruction output and passes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.