code: @Nullable
    public ValgrindFrame getLastOwnFrame(String basedir) {
      String workdir = FilenameUtils.normalize(basedir);
      for (ValgrindFrame frame : frames) {
        if (isInside(frame.getDir(), workdir)) {
          return frame;
        }
      }
      return null;
    }
docs: Returns the last frame (counted from the bottom of the stack) of a function which is in 'our' code
  
  @param basedir
  @return ValgrindFrame frame or null