summaryrefslogtreecommitdiff
path: root/enterprise.h
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2023-06-29 20:49:26 -0400
committerKyleMiles <krm504@nyu.edu>2023-07-10 12:58:24 -0400
commit04bc6f11ae0289aae57d63d4cd32f4ef305d1a7a (patch)
tree46f06280b13fb80f2aebf0eea9b52f884e698d0c /enterprise.h
parent7598688466960427890036590239565364310171 (diff)
Move binary view loading in to the core; deprecate open_view in favor of load; update examples
Diffstat (limited to 'enterprise.h')
-rw-r--r--enterprise.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/enterprise.h b/enterprise.h
index b15dbba7..da609185 100644
--- a/enterprise.h
+++ b/enterprise.h
@@ -208,7 +208,7 @@ namespace BinaryNinja
assert(Enterprise::AuthenticateWithCredentials("username", "password", true));
{
Enterprise::LicenseCheckout _{};
- Ref<BinaryView> bv = OpenView("/bin/ls", true, {}, options);
+ Ref<BinaryView> bv = Load("/bin/ls", true, {}, options);
printf("%llx\n", bv->GetStart());
// License is released at end of scope
}