From 563e68f59473aaec93dd4d1794c584aee798e80a Mon Sep 17 00:00:00 2001 From: Amr Abed Date: Thu, 10 Aug 2017 13:15:07 -0400 Subject: [PATCH] Ignore syscall frequencies for IndexMap --- src/main/java/edu/vt/rhids/common/IndexMap.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/edu/vt/rhids/common/IndexMap.java b/src/main/java/edu/vt/rhids/common/IndexMap.java index be447f0..c56e122 100644 --- a/src/main/java/edu/vt/rhids/common/IndexMap.java +++ b/src/main/java/edu/vt/rhids/common/IndexMap.java @@ -8,7 +8,7 @@ /** * Lookup table for system call index - * + * * @author AmrAbed * */ @@ -19,10 +19,10 @@ public class IndexMap extends HashMap private IndexMap() { } - + /** * Build index map from count file - * + * * @param reader */ public IndexMap(BufferedReader reader) @@ -33,10 +33,10 @@ public IndexMap(BufferedReader reader) while ((line = reader.readLine()) != null) { String[] words = line.split("\t"); - if (Integer.parseInt(words[1]) < size()) - { - break; - } +// if (Integer.parseInt(words[1]) < size()) +// { +// break; +// } put(words[0], size()); } reader.close(); @@ -50,7 +50,7 @@ public IndexMap(BufferedReader reader) /** * Build index map from first epoch - * + * * @param reader * @param epochSize * @throws IOException