mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-05 03:56:46 +00:00
Add powerpc function prelude
This commit is contained in:
parent
7c6cc1e78d
commit
e38e5b8291
@ -220,6 +220,9 @@ R_API int r_core_search_preludes(RCore *core) {
|
||||
int kwlen = r_hex_str2bin (prelude, kw);
|
||||
ret = r_core_search_prelude (core, from, to, kw, kwlen, NULL, 0);
|
||||
free (kw);
|
||||
} else if (strstr (arch, "ppc")) {
|
||||
ret = r_core_search_prelude (core, from, to,
|
||||
(const ut8 *)"\x7c\x08\x02\xa6", 4, NULL, 0);
|
||||
} else if (strstr (arch, "mips")) {
|
||||
ret = r_core_search_prelude (core, from, to,
|
||||
(const ut8 *)"\x27\xbd\x00", 3, NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user