What problem does it solve?
Amiga-specific code review ensures ported C programs adhere to AmigaOS conventions, avoid stack and memory issues, and prevent resource leaks that standard reviews might miss.
Core Features & Use Cases
- Stack safety checks tailored to AmigaOS (4KB default stack, chip vs fast RAM considerations) and detection of deep recursion.
- Memory management and cleanup verification, including AllocMem/AllocVec usage, memory leaks, and proper FreeVec/FreeMem release across error paths.
- BPTR handling and file/dir lifecycle checks, ensuring proper Lock/UnLock, Open/Close, and CurrentDir restoration.
- AmigaOS library protocol and version checks, ensuring libraries are opened/closed and compatibility is respected.
- AmiPort shim usage and adherence to conventions, including instrumentation comments and correct wrapper usage.
- Platform compatibility checks for 68k alignment, endianness, and struct alignment pitfalls.
Quick Start
Run the Amiga code review on the ported source located at the provided path to obtain a structured, actionable report.