diff options
author | van Hauser <vh@thc.org> | 2021-08-07 21:29:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 21:29:16 +0200 |
commit | 08cb3f8ab5cb4538182926436d203f266f09077b (patch) | |
tree | d8fbb84253b1088b55be29fd3f4c04a3f73207b2 | |
parent | 6b06d4c74d0d8d82ddbe75c81e35ed423e735314 (diff) | |
parent | d832ed68eaa9bc514b788970c21a68e606c0dfea (diff) | |
download | afl++-08cb3f8ab5cb4538182926436d203f266f09077b.tar.gz |
Merge pull request #1055 from DMaroo/fullscreen
`afl-plot-ui` window starts maximized now
-rw-r--r-- | utils/plot_ui/README.md | 10 | ||||
-rw-r--r-- | utils/plot_ui/afl-plot-ui.c | 1 |
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; |