Skip to content

An example project for using Microwalk's GitHub Workflow for leakage analysis of compiled code.

License

Notifications You must be signed in to change notification settings

microwalk-project/example-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microwalk Pin GitHub Workflow Example

This repository features a simple example for running the Microwalk GitHub analysis workflow with C code.

It makes use of microwalk-pin-action to analyze the targets microwalk/target-*.c and generate a leakage report.

The target code calls functions from our libexample library, as defined in the src folder. In the master branch, those are empty and thus constant-time. In the example pull request "#1 Add leakage" (for branch add-leakage), the functions are filled with leaking code, that is subsequently detected by the Microwalk analysis.

The SARIF-formatted leakage report is sent back to GitHub and displayed both in the pull request UI (for everyone) and in the repository's "Security" tab (for users with write access only).

About

An example project for using Microwalk's GitHub Workflow for leakage analysis of compiled code.

Resources

License

Stars

Watchers

Forks