Implement '-a crashcontext' and '-st trace' options to invoke BoundedCallTree.ml from the command line.
Reviewed By: sblackshear Differential Revision: D3606446 fbshipit-source-id: 9ac92famaster
parent
7fd1149f85
commit
6469a6c37b
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2016 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package codetoanalyze.java.crashcontext;
|
||||
|
||||
public class MinimalCrashExample {
|
||||
|
||||
public static void main(String[] args) {
|
||||
String s = null;
|
||||
s.toString();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1 @@
|
||||
{"exception_type": "java.lang.NullPointerException", "stack_trace": ["at endtoend.java.crashcontext.MinimalCrashExample.main(MinimalCrashExample.java:16)",""], "exception_message": "", "normvector_stack": ["endtoend.java.crashcontext.MinimalCrashExample.main"]}
|
Loading…
Reference in new issue