Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Aug 10, 2018
1 parent 02f4851 commit 1f875db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/pe_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def print_load_configuration(binary):
print(format_hex.format("GCF dispatch function pointer:", config.guard_cf_dispatch_function_pointer))
print(format_hex.format("GCF function table :", config.guard_cf_function_table))
print(format_dec.format("GCF Function count :", config.guard_cf_function_count))
print("{:<45} {} (0x{:x})".format("Guard flags:", flags_str, config.guard_flags))
print("{:<45} {} (0x{:x})".format("Guard flags:", flags_str, int(config.guard_flags)))

if isinstance(config, lief.PE.LoadConfigurationV2):
code_integrity = config.code_integrity
Expand Down

0 comments on commit 1f875db

Please sign in to comment.