about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--utils/plot_ui/README.md10
-rw-r--r--utils/plot_ui/afl-plot-ui.c1
2 files changed, 11 insertions, 0 deletions
diff --git a/utils/plot_ui/README.md b/utils/plot_ui/README.md
index d8afa09f..145ec219 100644
--- a/utils/plot_ui/README.md
+++ b/utils/plot_ui/README.md
@@ -2,4 +2,14 @@
 
 `afl-plot-ui` is a helper utility for rendering the GNUplot graphs in a GTK window. This allows to real time resizing, scrolling, and cursor positioning features while viewing the graph. This utility also provides options to hide graphs using check buttons.
 
+Currently, this utility is not built by default.
+You can manually build and install `afl-plot-ui` as follows
+
+```shell
+sudo apt install libgtk-3-0 libgtk-3-dev pkg-config
+make
+cd ../../
+sudo make install
+```
+
 *NOTE:* This utility is not meant to be used standalone. Never run this utility directly. Always run [`afl-plot`](../../afl-plot), which will, in turn, invoke this utility (when run using `-g` or `--graphical` flag).
\ No newline at end of file
diff --git a/utils/plot_ui/afl-plot-ui.c b/utils/plot_ui/afl-plot-ui.c
index 856bf082..1a1eb0ed 100644
--- a/utils/plot_ui/afl-plot-ui.c
+++ b/utils/plot_ui/afl-plot-ui.c
@@ -141,6 +141,7 @@ int main(int argc, char **argv) {
   g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit),
                    NULL);
   gtk_widget_show_all(window);
+  gtk_window_maximize(GTK_WINDOW(window));
   gtk_main();
 
   return EXIT_SUCCESS;