Skip to content

segv_handler calls a completely silly shell script #1

Description

@lbdroid

You're using this in order to drive a script through gdb since you need to generate the output automatically rather than immediately interacting with the debugger.

The shell script is silly and needless overhead.

Instead of system("silly shell script"), use this;

FILE *gdbin = popen(gdbcmd, "w");
fprintf(gdbin, "set height 0\nbt full\n....");
pclose(gdbin);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions