| rs | py | cpp | Function Name |
|---|---|---|---|
| π¦ | π | π | BNAllocString |
| π§ | π§ | π§ | BNAllocStringWithLength |
| π¦ | π | π | BNFreeString |
| π¦ | π§ | π§ | BNAllocStringList |
| π¦ | π | π | BNFreeStringList |
| π§ | π | π§ | BNShutdown |
| π§ | π§ | π§ | BNIsShutdownRequested |
| π¦ | π | π | BNGetVersionInfo |
This file contains hidden or 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
| pub struct Architecture { | |
| pub name: String, | |
| } | |
| #[derive(Clone, Copy)] | |
| pub struct RegisterInfo; | |
| #[derive(Clone, Copy, Hash, PartialEq, Eq)] | |
| pub struct Register; | |
| #[derive(Clone, Copy)] | |
| pub struct RegisterStackInfo; |
This file contains hidden or 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
| NOTE: bits are from least to most significant, 'X' means the value could not be defined as a single bit. | |
| name DEC: | |
| bits 01100011 | |
| bits 01110011 | |
| bits 01101011 | |
| bits 01111011 | |
| name INC: | |
| bits 01100111 | |
| bits 01110111 | |
| bits 01101111 |
This file contains hidden or 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
| use binaryninja::binary_view::{ | |
| BinaryView, BinaryViewEventHandler, BinaryViewEventType, | |
| }; | |
| use binaryninja::data_notification::{ | |
| CustomDataNotification, DataNotificationTriggers, | |
| }; | |
| use binaryninja::tags::TagReference; | |
| const LOG_NAME: &str = "BinShow"; | |
| macro_rules! info { | |
| ($msg:expr) => { |
This file contains hidden or 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
| // inspired by https://www.youtube.com/watch?v=vR3b8N-YOLA | |
| // breaking a stick in two random points or | |
| // breaking a stick in one point and then breaking the other randonly | |
| // gives very diferent changes of forming a triangle with the three pices. | |
| use std::cmp::Ordering; | |
| use std::time::{Duration, SystemTime}; | |
| use rand; |
OlderNewer