mirror of
https://github.com/geohot/qira
synced 2025-02-19 07:54:15 +03:00
eod monday
This commit is contained in:
parent
cb20bf8aa4
commit
8809b442a2
BIN
tests/ctf/pctf/harry_potter
Executable file
BIN
tests/ctf/pctf/harry_potter
Executable file
Binary file not shown.
@ -1,5 +1,12 @@
|
||||
function p(a) { console.log(a); }
|
||||
|
||||
pmaps = {}
|
||||
function get_data_type(v) {
|
||||
var a = pmaps[v - v%0x1000];
|
||||
if (a === undefined) return "";
|
||||
else return "data"+a;
|
||||
}
|
||||
|
||||
function hex(a) {
|
||||
if (a == undefined) {
|
||||
return "";
|
||||
|
@ -17,7 +17,9 @@ function do_ida_socket(callme) {
|
||||
}
|
||||
if (dat[0] == "setdaddr") {
|
||||
var daddr = parseInt(dat[1])
|
||||
update_dview(daddr);
|
||||
if (get_data_type(daddr) != "datainstruction") {
|
||||
update_dview(daddr);
|
||||
}
|
||||
}
|
||||
};
|
||||
} else {
|
||||
|
@ -4,7 +4,6 @@ stream.on('maxclnum', function(msg) {
|
||||
update_maxclnum(msg);
|
||||
});
|
||||
|
||||
pmaps = {}
|
||||
stream.on('pmaps', function(msg) {
|
||||
pmaps = msg
|
||||
});
|
||||
@ -19,12 +18,6 @@ Meteor.startup(function() {
|
||||
});
|
||||
});
|
||||
|
||||
function get_data_type(v) {
|
||||
var a = pmaps[v - v%0x1000];
|
||||
if (a === undefined) return "";
|
||||
else return "data"+a;
|
||||
}
|
||||
|
||||
var PTRSIZE = 4;
|
||||
|
||||
stream.on('memory', function(msg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user