generated from Vector35/sample_plugin
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More refactoring and changed type declarations to use _ instead of ::…
… for namespace separation because it causes problems with binja
- Loading branch information
Showing
4 changed files
with
406 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from typing import Optional | ||
from binaryninja import Type | ||
|
||
|
||
class JagTypes: | ||
namespace_sep = "_" | ||
|
||
client_name = 'jag{}Client'.format(namespace_sep) | ||
client: Optional[Type] = None | ||
|
||
isaac_name = 'jag{}Isaac'.format(namespace_sep) | ||
isaac: Optional[Type] = None | ||
|
||
heap_interface_name = 'jag{}HeapInterface'.format(namespace_sep) | ||
heap_interface: Optional[Type] = None | ||
|
||
conn_mgr_name = 'jag{}ConnectionManager'.format(namespace_sep) | ||
conn_mgr: Optional[Type] = None | ||
|
||
client_prot_name = 'jag{}ClientProt'.format(namespace_sep) | ||
client_prot: Optional[Type] = None | ||
|
||
packet_name = 'jag{}Packet'.format(namespace_sep) | ||
packet: Optional[Type] = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.