frida-cycript icon indicating copy to clipboard operation
frida-cycript copied to clipboard

global halts the repl

Open duraki opened this issue 5 years ago • 1 comments

Trying to list all globals yields in unresponsive tty. Signals are ignored until suspended (Cmd+Z),

$ build/src/cycript
cy# global
Target process terminated


^C^D

Expected value; global definitions in a list/ary or ReferenceError exception.

ie.
[1, 2, 3 ... global(n)] // definitons

duraki avatar Mar 15 '21 18:03 duraki

hotfix (for now):

global.global = function() {
  return Object.keys(global);
}

called via global().

***: find a way to global = global.global() ie. a static const parenthesisless

duraki avatar Mar 17 '21 20:03 duraki