Module Binary_emitter_verify
Verification of binary emitter output against system assembler output.
This module compares the section contents produced by the binary emitter (saved in .binary-sections/ directories) against the corresponding sections extracted from object files produced by the system assembler.
type mismatch = | Section_content of section_mismatch| Section_size of {}| Relocation of relocation_mismatch| Missing_section of string| Missing_binary_sections_dir of string
val compare :
(module Compiler_owee.Unix_intf.S) ->
obj_file:string ->
binary_sections_dir:string ->
resultCompare binary emitter output against assembled object file.
val print_result : Format.formatter -> result -> unitPrint a comparison result to a formatter.
module For_testing : sig ... endFunctions for testing the verification logic itself.