I hereby claim:
- I am joshwatson on github.
- I am joshwatson (https://keybase.io/joshwatson) on keybase.
- I have a public key whose fingerprint is 352E 838F 1A8D B323 096F D51D 44BE C0DE 18F4 1C38
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Copyright (c) 2016 Josh Watson | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: | |
| # | |
| # The above copyright notice and this permission notice shall be included in |
| #! /usr/bin/python | |
| import sys | |
| import platform | |
| import time | |
| import os | |
| try: | |
| import binaryninja as binja | |
| except ImportError: |
| ''' | |
| bookmarks.py - Create/List bookmarks in Binary Ninja | |
| Copyright (c) 2016 Josh Watson | |
| Permission is hereby granted, free of charge, to any person obtaining a | |
| copy of this software and associated documentation files (the "Software"), | |
| to deal in the Software without restriction, including without limitation | |
| the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| and/or sell copies of the Software, and to permit persons to whom the |
| import os | |
| import threading | |
| import pdbparse | |
| from pdbparse.pe import Sections | |
| from pdbparse.omap import Omap | |
| import binaryninja as bn | |
| def load_pdb_thread(bv): |
| class BNILExprVisitor(object): | |
| '''A class to faciliate visiting BNIL instructions. | |
| The following example outputs all addition expressions that are assigned | |
| to an MLIL variable. | |
| >>> visit = BNILExprVisitor() | |
| >>> @visit.add(MediumLevelILOperation.MLIL_SET_VAR) | |
| ... def visit_set_var(expr) | |
| ... visit(expr.src) |
| // Original source link https://twitter.com/hFireF0X/status/887930221466443776 | |
| // If you are here from any other link - do know that they just steal original info without giving any credit to source | |
| // This bug has been fixed in 16273 public build. | |
| #include "global.h" | |
| HINSTANCE g_hInstance; | |
| HANDLE g_ConOut = NULL; | |
| BOOL g_ConsoleOutput = FALSE; | |
| WCHAR g_BE = 0xFEFF; |
| // compile command: | |
| // xcrun clang -o dock_monitor dock_monitor.m -fobjc-arc -isysroot $(xcrun --show-sdk-path) -framework Foundation -framework AppKit -Wall -Wshadow -Wextra | |
| #import <Foundation/Foundation.h> | |
| #import <AppKit/AppKit.h> | |
| void changeDockPosition(CGDirectDisplayID displayID, NSString *position) | |
| { | |
| // Retrieve the defaults dictionary and change the orientation key to | |
| // the new position | |
| NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; |
| import struct | |
| import threading | |
| import binaryninja as bn | |
| class Graph(object): | |
| def __init__(self, view): | |
| # type: (Graph, bn.BinaryView) -> None | |
| self.view = view |