ARMmbed / ARMmbed/uvisor

Move all sanity checks in one place

Open
#306 1 comment 0 reactions 0 assignees View on GitHub
mirrored
Dominant language
C
Stars
135
Forks
72
PR merge metrics
No merged PRs in 30d

Description

All sanity checks performed by the uVisor core should be grouped together and called before anything meaningful is done.

Checks can be further sub-grouped functionality-wise, like:

``` C
sanity_checks_page_allocator(...);
sanity_checks_box_config(...);
...
```

but the single functions should still be called in a central place, in `vmpu_init_pre()`.

Contributor guide

Open the contributing guide

Research direction

Start by locating vmpu_init_pre() and inventory the sanity checks performed by the uVisor core. Group the checks by functionality while keeping their individual functions, then ensure they are called centrally before other meaningful initialization work. Done means all core sanity checks are invoked from vmpu_init_pre().

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot, security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.