diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-06-29 20:49:26 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-07-10 12:58:24 -0400 |
| commit | 04bc6f11ae0289aae57d63d4cd32f4ef305d1a7a (patch) | |
| tree | 46f06280b13fb80f2aebf0eea9b52f884e698d0c /python/examples/pe_stat.py | |
| parent | 7598688466960427890036590239565364310171 (diff) | |
Move binary view loading in to the core; deprecate open_view in favor of load; update examples
Diffstat (limited to 'python/examples/pe_stat.py')
| -rwxr-xr-x | python/examples/pe_stat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/pe_stat.py b/python/examples/pe_stat.py index 08dd43e0..bc3a3992 100755 --- a/python/examples/pe_stat.py +++ b/python/examples/pe_stat.py @@ -31,7 +31,7 @@ opc2count = defaultdict(lambda: 0) target = sys.argv[1] print('opening %s' % target) -bv = binaryninja.BinaryViewType.get_view_of_file(target) +bv = binaryninja.load(target) print('analyzing') bv.update_analysis_and_wait() |
