From d9fc6875248d194feb80881b246a3a616b56bfbf Mon Sep 17 00:00:00 2001 From: Keith Rothman <537074+litghost@users.noreply.github.com> Date: Mon, 22 Oct 2018 13:09:38 -0700 Subject: [PATCH] Address review comments. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com> --- utils/{fasm2fasm.py => fasm_pprint.py} | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename utils/{fasm2fasm.py => fasm_pprint.py} (93%) diff --git a/utils/fasm2fasm.py b/utils/fasm_pprint.py similarity index 93% rename from utils/fasm2fasm.py rename to utils/fasm_pprint.py index b927ffcd..6645a1a3 100644 --- a/utils/fasm2fasm.py +++ b/utils/fasm_pprint.py @@ -1,6 +1,11 @@ #!/usr/bin/env python3 ''' -Takes input FASM and outputs optionally canonical FASM. +Pretty print FASM. + +Sanity checks FASM against prjxray database. +Can output canonical FASM. +In the future may support other formatting options. + ''' import os @@ -62,7 +67,7 @@ def main(): parser = argparse.ArgumentParser( description= - 'Read FASM file, check against database, and output optionally canonical FASM.' + 'Pretty print a FASM file.' ) database_dir = os.getenv("XRAY_DATABASE_DIR")