@@ -37,11 +37,30 @@ default is 20.
3737
3838# Todo
3939
40- * command line
41- * graph loading
42- * from .dot (network and capacities of each node)
43- * map generation
44- * leader election
40+ * New features
41+ * Byzantine
42+ * Snap
43+
44+ # # Command Line of dmalloc
45+
46+ dmalloc commands:
47+
48+ | ** Command** | ** Desc.** |
49+ | h | display all available commands with their description |
50+ | t | show table of allocations |
51+ | m ` size` | return ` address` to cmd user of the required allocation |
52+ | f ` address` | free address, Warning if already free |
53+ | w ` address` ` datasize` ` data` | write at the address the data of size datasize |
54+ | w ` address` ` file` | write all content of file at address |
55+ | w ` address` ` file` ` datasize` | write datasize bytes from file to the address |
56+ | r ` address` ` datasize` | read datasize bytes at address |
57+ | r ` address` ` file` | read all bytes of the block at address into file |
58+ | r ` address` ` file` ` datasize` | read datasize bytes at address into file |
59+ | d ` address` | dump in as text all data of the block stored in address |
60+ | d net | dump all allocation |
61+ | kill ` node_id` | kill node refered by ` id` |
62+ | revive ` node_id` | revive ` id` |
63+
4564
4665# # Important structs/classes
4766
@@ -76,22 +95,6 @@ default is 20.
7695 * size
7796 * id (the machine containing this address)
7897
79- # # Command Line
80-
81- | ** Command** | ** Desc.** |
82- | -----------------------------------| ---------------------------------------------------------|
83- | h | display all available commands with their description |
84- | m ` size` | return ` address` to cmd user of the required allocation |
85- | f ` address` | free address, Warning if already free |
86- | w ` address` ` datasize` ` data` | write at the address the data of size datasize |
87- | r ` address` ` datasize` | read datasize bytes at address |
88- | d ` address` | dump in as text all data of the block stored in address |
89- | d ` address` ` file` | dump address data in file |
90- | snap | give user a snap of the network (print) |
91- | snap ` file` | same as snap but stored in file |
92- | dnet | write a .dot file of the network |
93- | kill ` id` | kill node refered by ` id` |
94- | revive ` id` | revive ` id` |
9598
9699# # Node Life Cycles
97100
0 commit comments