|
Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
| #define | FLDBASE 8 |
| #define | FLDSIZE_Y (FLDBASE + 1) |
| #define | FLDSIZE_X (FLDBASE * 2 + 1) |
Functions | |
| RZ_API RZ_OWN char * | rz_hash_cfg_randomart (RZ_NONNULL const ut8 *buffer, ut32 length, ut64 address) |
| Generates a randomart that is meant to be an easily validate buffers. More... | |
| #define FLDBASE 8 |
Definition at line 43 of file randomart.c.
| #define FLDSIZE_X (FLDBASE * 2 + 1) |
Definition at line 45 of file randomart.c.
| #define FLDSIZE_Y (FLDBASE + 1) |
Definition at line 44 of file randomart.c.
| RZ_API RZ_OWN char* rz_hash_cfg_randomart | ( | RZ_NONNULL const ut8 * | buffer, |
| ut32 | length, | ||
| ut64 | address | ||
| ) |
Generates a randomart that is meant to be an easily validate buffers.
| buffer | The buffer to use to generate the |
| length | The buffer length |
| addr | The location of the hash (when unknown can be set to 0). |
Definition at line 55 of file randomart.c.
References b, calloc(), FLDSIZE_X, FLDSIZE_Y, i, input(), len, length, memset(), NULL, p, PFMT64x, RZ_MAX, RZ_MIN, rz_return_val_if_fail, sprintf, and x.
Referenced by hash_print_digest(), and rz_cmd_print().