diff options
author | Emile <git@emile.space> | 2023-04-09 00:37:54 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2023-04-09 00:37:54 +0200 |
commit | 87142c0cb5f42d877327c357497a5be6f3c5dbd0 (patch) | |
tree | e4b2094315dc16fe680ad0a15587bb0671dea636 /src/cmd.go | |
parent | 907f5bc763959c3cc2196329a600a8afedebac5a (diff) |
Should work, lol
Diffstat (limited to 'src/cmd.go')
-rw-r--r-- | src/cmd.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/cmd.go b/src/cmd.go deleted file mode 100644 index a17da4a..0000000 --- a/src/cmd.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import ( - "github.com/radare/r2pipe-go" - "github.com/sirupsen/logrus" -) - -func r2cmd(r2p *r2pipe.Pipe, input string) string { - - logrus.Tracef("> %s", input) - - // send a command - buf1, err := r2p.Cmd(input) - if err != nil { - panic(err) - } - - // return the result of the command as a string - return buf1 -} |