mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
Fix RBin.bf suggested commands
This commit is contained in:
parent
e553927a41
commit
e43691959c
@ -1,4 +1,4 @@
|
|||||||
/* radare - LGPL - Copyright 2013-2017 - pancake */
|
/* radare - LGPL - Copyright 2013-2018 - pancake */
|
||||||
|
|
||||||
#include <r_types.h>
|
#include <r_types.h>
|
||||||
#include <r_util.h>
|
#include <r_util.h>
|
||||||
@ -59,6 +59,8 @@ static RBinInfo *info(RBinFile *bf) {
|
|||||||
eprintf ("ar ptr=data\n");
|
eprintf ("ar ptr=data\n");
|
||||||
eprintf ("\"e cmd.vprompt=pxa 32@stack;pxa 32@screen;pxa 32@data\"\n");
|
eprintf ("\"e cmd.vprompt=pxa 32@stack;pxa 32@screen;pxa 32@data\"\n");
|
||||||
eprintf ("s 0\n");
|
eprintf ("s 0\n");
|
||||||
|
eprintf ("e asm.bits=32\n");
|
||||||
|
eprintf ("dL bf\n");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,7 +107,7 @@ static RList *entries(RBinFile *bf) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct r_bin_plugin_t r_bin_plugin_bf = {
|
RBinPlugin r_bin_plugin_bf = {
|
||||||
.name = "bf",
|
.name = "bf",
|
||||||
.desc = "brainfuck",
|
.desc = "brainfuck",
|
||||||
.license = "LGPL3",
|
.license = "LGPL3",
|
||||||
|
Loading…
Reference in New Issue
Block a user