Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static trace failure case #23

Closed
alterakey opened this issue May 10, 2016 · 0 comments · Fixed by #40
Closed

static trace failure case #23

alterakey opened this issue May 10, 2016 · 0 comments · Fixed by #40

Comments

@alterakey
Copy link
Owner

    load_entry_point('trueseeing==2.0.0', 'console_scripts', 'trueseeing')()
  File "/Users/taky/works/trueseeing/wc/trueseeing/shell.py", line 114, in entry
    return shell(sys.argv)
  File "/Users/taky/works/trueseeing/wc/trueseeing/shell.py", line 85, in shell
    for e in processed(f, [v for k,v in signatures.items() if k in signature_selected]):
  File "/Users/taky/works/trueseeing/wc/trueseeing/shell.py", line 33, in processed
    yield from (formatted(e) for e in c(context).detect())
  File "/Users/taky/works/trueseeing/wc/trueseeing/shell.py", line 33, in <genexpr>
    yield from (formatted(e) for e in c(context).detect())
  File "/Users/taky/works/trueseeing/wc/trueseeing/signature/base.py", line 42, in detect
    yield from res
  File "/Users/taky/works/trueseeing/wc/trueseeing/signature/security.py", line 221, in do_detect
    yield self.issue(IssueSeverity.MAJOR, IssueConfidence.TENTATIVE, '%(name)s#%(method)s' % dict(name=self.context.class_name_of_dalvik_class_type(cl.qualified_name()), method=k.method_.v.v), 'detected logging: %(target_val)s: "%(val)s"' % dict(target_val=k.p[1].v, val=DataFlows.solved_constant_data_in_invocation(k, 1)))
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 59, in solved_constant_data_in_invocation
    graph = DataFlows.analyze(invokation_op)
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 114, in analyze
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_load_of(op, k)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 114, in <dictcomp>
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_load_of(op, k)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 111, in analyze
    return DataFlows.analyze(DataFlows.analyze_recent_invocation(op))
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 114, in analyze
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_load_of(op, k)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 114, in <dictcomp>
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_load_of(op, k)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 106, in analyze
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_static_load_of(op)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 106, in <dictcomp>
    return {op:{k:DataFlows.analyze(DataFlows.analyze_recent_static_load_of(op)) for k in DataFlows.decoded_registers_of(op.p[0])}}
  File "/Users/taky/works/trueseeing/wc/trueseeing/flow/data.py", line 126, in analyze_recent_static_load_of
    raise Exception('failed static trace of: %r' % op)
Exception: failed static trace of: <Op id:sget-object:[<Token reg:v1>, <Token reflike:Ljava/util/Locale;->ROOT:Ljava/util/Locale;>]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant