示例#1
0
  @DSSink({DSSinkKind.SENSITIVE_UNCATEGORIZED})
  @DSGenerator(
      tool_name = "Doppelganger",
      tool_version = "2.0",
      generated_on = "2013-12-30 12:55:51.660 -0500",
      hash_original_method = "1BC6FB469729E22F0BBD9E3870285FA5",
      hash_generated_method = "543C9BD19E373DB533AA5A2550507AEF")
  protected void dbg_leave(String rule) {
    StringBuffer stringBuffer = new StringBuffer();
    for (int i = 0; i < nesting_level; i++) stringBuffer.append("<");

    if (debug) {
      System.out.println(stringBuffer + rule + "\nlexer buffer = \n" + lexer.getRest());
    }
    nesting_level--;
  }
示例#2
0
  @DSSink({DSSinkKind.SENSITIVE_UNCATEGORIZED})
  @DSGenerator(
      tool_name = "Doppelganger",
      tool_version = "2.0",
      generated_on = "2013-12-30 12:55:51.657 -0500",
      hash_original_method = "FEF315A443660226B56655DBFD660360",
      hash_generated_method = "2CC809F5CB9762AB22FDDE770398FC72")
  protected void dbg_enter(String rule) {
    StringBuffer stringBuffer = new StringBuffer();
    for (int i = 0; i < nesting_level; i++) stringBuffer.append(">");

    if (debug) {
      System.out.println(stringBuffer + rule + "\nlexer buffer = \n" + lexer.getRest());
    }
    nesting_level++;
  }