oxidecomputer / oxidecomputer/humility

`readmem` lies sometimes

Open
#25 0 comments 0 reactions 1 assignee View on GitHub

@bcantrill is already working on this.

Since Oct 27, 2021.

Dominant language
Rust
Stars
584
Forks
63
Avg merge
3h
Merged PRs (30d)
2

Description

humility map

...
0x080076b0 0x20003000 - 0x200037ff    2KiB rw--- 11 hf
...

humility readmem 0x20003780

humility: readmem failed: read of 256 bytes from invalid address: 0x20003780

Address is fine. Problem is that it's trying to read too far.

  • Error message should be improved to explain what's actually going on, or
  • It should notice that it's trying to run off the end of a mapped region and read fewer than 256 bytes, and report why.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.