mate.build.tob_chess_utils.tools.migraine module

mate.build.tob_chess_utils.tools.migraine.emit_preamble()
mate.build.tob_chess_utils.tools.migraine.generate_addresses(wed)

Emits directives for the function and every constituent basic block to the output.

mate.build.tob_chess_utils.tools.migraine.main()
mate.build.tob_chess_utils.tools.migraine.migraine(wed_dicts)
mate.build.tob_chess_utils.tools.migraine.migraine_record(name, expr=None)

Emits (the assembler directives for) a single migraine record to the output.

The directives used by migraine correspond to three fields:

  1. A length prefix for the migraine identifier (size = 8 bytes)

  2. The migraine identifier (size = length prefix)

  3. The corresponding VA (size = 8 bytes)