about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-04-16 16:48:40 +0200
committerDominik Maier <domenukk@gmail.com>2020-04-16 16:48:40 +0200
commit5e53002303820ef2ab32f411993907c92ef9f0b9 (patch)
treed7fa8f6eb56b219fd98021295a134c95b8979cb3
parent872d1c1d98f311ab9b2f94773e724ba9c8af5205 (diff)
downloadafl++-5e53002303820ef2ab32f411993907c92ef9f0b9.tar.gz
less radamsa
-rw-r--r--src/third_party/libradamsa/libradamsa.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/third_party/libradamsa/libradamsa.c b/src/third_party/libradamsa/libradamsa.c
index 7ad4044b..72c8fde6 100644
--- a/src/third_party/libradamsa/libradamsa.c
+++ b/src/third_party/libradamsa/libradamsa.c
@@ -2178,7 +2178,7 @@ static uint llen(word *ptr) {
    }
    return len;
 }
-
+/*
 static void set_signal_handler(void) {
    struct sigaction sa;
    sa.sa_handler = signal_handler;
@@ -2187,7 +2187,7 @@ static void set_signal_handler(void) {
    sigaction(SIGINT, &sa, NULL);
    sigaction(SIGPIPE, &sa, NULL);
 }
-
+*/
 static word mkpair(word h, word a, word d) {
    word *pair;
    allocate(3, pair);
@@ -30685,7 +30685,7 @@ static void heap_metrics(int *rwords, int *rnobjs) {
       get_obj_metrics(rwords, rnobjs);
    hp = hp_start;
 }
-
+/*
 static void read_heap(const char *path) {
    struct stat st;
    off_t pos = 0;
@@ -30705,6 +30705,7 @@ static void read_heap(const char *path) {
    } while (n && (pos += n) < st.st_size);
    close(fd);
 }
+*/
 
 /* find a fasl image source to *hp or exit */
 //static void find_heap(int *nargs, char ***argv, int *nobjs, int *nwords) {