diff --git a/src/others/3.1.6_heap_exploit/Makefile b/src/others/3.1.6_heap_exploit/Makefile index 68012f7..835669d 100644 --- a/src/others/3.1.6_heap_exploit/Makefile +++ b/src/others/3.1.6_heap_exploit/Makefile @@ -1,8 +1,9 @@ -PROGRAMS = fastbin_dup tcache_double-free fastbin_dup_into_stack fastbin_dup_consolidate unsafe_unlink house_of_spirit poison_null_byte malloc_playground first_fit house_of_lore tcache_house_of_lore overlapping_chunks overlapping_chunks_2 house_of_force unsorted_bin_attack unsorted_bin_into_stack tcache_unsorted_bin_attack house_of_einherjar house_of_orange +PROGRAMS = fastbin_dup tcache_double-free fastbin_dup_into_stack fastbin_dup_consolidate unsafe_unlink house_of_spirit poison_null_byte first_fit house_of_lore tcache_house_of_lore overlapping_chunks overlapping_chunks_2 house_of_force unsorted_bin_attack unsorted_bin_into_stack tcache_unsorted_bin_attack house_of_einherjar house_of_orange + CFLAGS += -std=c99 -g # CFLAGS += -fsanitize=address all: $(PROGRAMS) clean: - rm -f $(PROGRAMS) + rm -f $(PROGRAMS) diff --git a/src/others/3.1.6_heap_exploit/house_of_orange.c b/src/others/3.1.6_heap_exploit/house_of_orange.c index a71173a..3fc8f09 100644 --- a/src/others/3.1.6_heap_exploit/house_of_orange.c +++ b/src/others/3.1.6_heap_exploit/house_of_orange.c @@ -2,6 +2,8 @@ #include #include +typedef FILE _IO_FILE; + int winner (char *ptr); int main() {