Home /Examples/lib/examples/decompiler/CLASSIC-artifact-inspection.sleela

CLASSIC-artifact-inspection.sleela

lib/examples/decompiler/CLASSIC-artifact-inspection.sleela · 12 line(s) · sleela

#sleela 1.7
// Safe inspection workflow; no artifact is decoded by this teaching example.
class ClassicArtifactInspection {
    void main() {
        print("1. identify the artifact format and version");
        print("2. verify its digest before inspection");
        print("3. inspect metadata and declared sections");
        print("4. preserve the original artifact unchanged");
        print("5. compare output against a known-good fixture");
    }
}