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
#!/usr/bin/perl -w | |
use strict; | |
use Getopt::Long; | |
my @showopts = (); | |
my %shows = ("topic" => 0, "durability" => 0, "localdisc" => 0, "remotedisc" => 0, "user" => 1, "ack" => 0, "throttle" => 0, "block" => 0, "rematch" => 0, "in" => 1, "out" => 1, "partition" => 0, "builtin" => 0, "mtreader" => 0, "limit" => 1, "warn" => 1, "tstamp" => 0, "topic-filter" => 0, "compact" => 0, "alldest" => 0, "qos" => 0); | |
my $topic_filter = '.'; | |
my $topic_xfilter = '$^'; | |
my $data_filter = '.?'; |
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
Things done to qnx toolchain: | |
1. Compile libiconv: | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install | |
2. Compile gettext: | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install |
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
from binaryninja import HighlightStandardColor, PluginCommand | |
def do_backward_slice(instruction, function): | |
# switch to SSA form (this does nothing if it's already SSA). | |
instruction_queue = set([instruction.ssa_form.instr_index]) | |
visited_instructions = set() | |
variables = set() |