Review C code for security vulnerabilities with Arm Metis
Introduction
Understand the Arm Metis review workflow
Install and configure Arm Metis
Compare an Arm Metis report with vulnerable C code
Prepare a realistic Magma libpng target
Triage an Arm Metis finding in libpng
Next Steps
Review C code for security vulnerabilities with Arm Metis
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use an Ubuntu or Debian terminal under WSL2.
Run
review_file check.c in the provider check. Your connection works when the review completes without provider errors and Metis prints a token-usage summary. Zero findings is a valid result for this file.A valid review can report zero findings. Check your provider connection and Metis logs before judging the result. Don’t treat an empty report as proof that the program is safe. When you have findings, compare their source locations with the known defects.
Use
results/libpng-live.json to inspect your run. If it lacks the row-buffer finding, select results/libpng-review-candidate.json to follow the guided triage. You can also use the captured report to avoid the longer live review.Use the diff to see that preparation removed the rejection from an architecture-width check in
png.c. Check the Application Binary Interface (ABI), width limits, and transforms of the application too. Keep the finding unconfirmed at runtime until you reproduce the path with the intended build and settings.