about summary refs log tree commit diff stats
path: root/miasm/tools/emul_lib/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/tools/emul_lib/main.c')
-rw-r--r--miasm/tools/emul_lib/main.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/miasm/tools/emul_lib/main.c b/miasm/tools/emul_lib/main.c
deleted file mode 100644
index e088191d..00000000
--- a/miasm/tools/emul_lib/main.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-** Copyright (C) 2011 EADS France, Fabrice Desclaux <fabrice.desclaux@eads.net>
-**
-** This program is free software; you can redistribute it and/or modify
-** it under the terms of the GNU General Public License as published by
-** the Free Software Foundation; either version 2 of the License, or
-** (at your option) any later version.
-**
-** This program is distributed in the hope that it will be useful,
-** but WITHOUT ANY WARRANTY; without even the implied warranty of
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-** GNU General Public License for more details.
-**
-** You should have received a copy of the GNU General Public License along
-** with this program; if not, write to the Free Software Foundation, Inc.,
-** 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-#include <Python.h>
-#include "queue.h"
-#include "libcodenat.h"
-int main()
-{
-	memory_page* mp;
-	struct memory_page_node * mpn;
-	
-	init_memory_page_pool();
-	dump_memory_page_pool();
-	
-	
-	mp = create_memory_page(0x1000, 0x10);	
-	mpn = create_memory_page_node(mp);
-	add_memory_page(mpn);
-
-	dump_memory_page_pool();
-
-
-	mp = create_memory_page(0x2000, 0x10);	
-	mpn = create_memory_page_node(mp);
-	add_memory_page(mpn);
-	dump_memory_page_pool();
-
-	return 0;
-}