Fix spelling errors (#15904)

This commit is contained in:
Hye Sung Jung 2020-01-27 00:43:47 -06:00 committed by radare
parent 3a0dd576c0
commit 757c23d5db
15 changed files with 20 additions and 20 deletions

View File

@ -65,7 +65,7 @@ You can verify that the binary is properly signed and verified by using the code
$ codesign -dv binr/radare2/radare2
Additionally, you can run the following command to add the non-priviledge user (username) to the Developer Tools group in macOS, avoiding the related Xcode prompts:
Additionally, you can run the following command to add the non-privileged user (username) to the Developer Tools group in macOS, avoiding the related Xcode prompts:
$ sudo dscl . append /Groups/_developer GroupMembership <username>

View File

@ -529,7 +529,7 @@ static int riscv_op(RAnal *anal, RAnalOp *op, ut64 addr, const ut8 *data, int le
// branch/jumps/calls/rets
if (is_any ("jal")) {
// decide wether it's ret or call
// decide whether it's ret or call
int rd = (word >> OP_SH_RD) & OP_MASK_RD;
op->type = (rd == 0) ? R_ANAL_OP_TYPE_RET: R_ANAL_OP_TYPE_CALL;
op->jump = EXTRACT_UJTYPE_IMM (word) + addr;

View File

@ -51,7 +51,7 @@ static const char *const fp_reg_names[] =
typedef unsigned int CORE_ADDR;
/* Get at various relevent fields of an instruction word. */
/* Get at various relevant fields of an instruction word. */
#define MASK_5 0x1f
#define MASK_10 0x3ff

View File

@ -183,7 +183,7 @@ print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
an 80-column screen.) The value of bytes_per_line here is not exactly
right, because objdump adds an extra space for each chunk so that the
amount of whitespace depends on the chunk size. Oh well, it's good
enough.... Note that we set the minimum size to 4 to accomodate
enough.... Note that we set the minimum size to 4 to accommodate
literal pools. */
info->bytes_per_line = MAX (maxsize, 4);

View File

@ -82,7 +82,7 @@
IN_GLIBCPP_V3
If defined, this file defines only __cxa_demangle() and
__gcclibcxx_demangle_callback(), and no other publically visible
__gcclibcxx_demangle_callback(), and no other publicly visible
functions or variables.
STANDALONE_DEMANGLER

View File

@ -99,7 +99,7 @@ static const char *help_msg_ab[] = {
static const char *help_msg_abt[] = {
"Usage:", "abt", "[addr] [num] # find num paths from current offset to addr",
"abt", " [addr] [num]", "find num paths from current offset to addr",
"abte", " [addr]", "emulate from begining of function to the given address",
"abte", " [addr]", "emulate from beginning of function to the given address",
"abtj", " [addr] [num]", "display paths in JSON",
NULL
};
@ -8723,7 +8723,7 @@ static void cmd_anal_abt(RCore *core, const char *input) {
int n = 1;
char *p = strchr (input + 1, ' ');
if (!p) {
eprintf ("Usage: abte [addr] # emulate from begining of function to the given address.\n");
eprintf ("Usage: abte [addr] # emulate from beginning of function to the given address.\n");
return;
}
ut64 addr = r_num_math (core->num, p + 1);

View File

@ -1327,7 +1327,7 @@ static void ds_show_xrefs(RDisasmState *ds) {
if (!xrefs) {
return;
}
// only show fcnline in xrefs when addr is not the begining of a function
// only show fcnline in xrefs when addr is not the beginning of a function
bool fcnlines = (ds->fcn && ds->fcn->addr == ds->at);
if (r_list_length (xrefs) > ds->maxrefs) {
ds_begin_line (ds);

View File

@ -290,7 +290,7 @@ static const char *help_msg_visual[] = {
"??", "show this help",
"$", "set the program counter to the current offset + cursor",
"%", "in cursor mode finds matching pair, otherwise toggle autoblocksz",
"^", "seek to the begining of the function",
"^", "seek to the beginning of the function",
"!", "enter into the visual panels mode",
"TAB", "switch to the next print mode (or element in cursor mode)",
"_", "enter the flag/comment/functions/.. hud (same as VF_)",

View File

@ -1199,7 +1199,7 @@ static void w32_list_heaps(RCore *core, const char format) {
pj_kN (pj, "address", (ut64)heap.Base);
pj_kN (pj, "count", (ut64)heap.BlockCount);
pj_kN (pj, "allocated", (ut64)heap.Allocated);
pj_kN (pj, "commited", (ut64)heap.Committed);
pj_kN (pj, "committed", (ut64)heap.Committed);
pj_end (pj);
break;
default:

View File

@ -509,7 +509,7 @@ static void _write_flag_bits(char *buf, const gdbr_xml_flags_t *flags) {
continue;
}
// To avoid duplicates. This skips flags if first char is same. i.e.
// for x86_64, it will skip VIF because VM already occured. This is
// for x86_64, it will skip VIF because VM already occurred. This is
// same as default reg-profiles in r2
c = tolower (flags->fields[i].name[0]) - 'a';
if (fc[c]) {

View File

@ -250,7 +250,7 @@ ptid_t qnxr_run (libqnxr_t *g, const char *file, char **args, char **env) {
errors += !nto_send_env (g, *env);
if (errors) {
eprintf ("%s: error(s) occured while sending environment\n", __func__);
eprintf ("%s: error(s) occurred while sending environment\n", __func__);
}
nto_send_init (g, DStMsg_env, DSMSG_ENV_CLEARARGV, SET_CHANNEL_DEBUG);
@ -271,7 +271,7 @@ ptid_t qnxr_run (libqnxr_t *g, const char *file, char **args, char **env) {
errors |= !nto_send_arg (g, *argv);
if (errors) {
eprintf ("%s: error(s) occured while sending args\n", __func__);
eprintf ("%s: error(s) occurred while sending args\n", __func__);
}
}
@ -689,7 +689,7 @@ int nto_send_env (libqnxr_t *g, const char *env) {
if (!nto_send (g, offsetof (DStMsg_env_t, data) +
DS_DATA_MAX_SIZE,
1)) {
/* An error occured. */
/* An error occurred. */
return 0;
}
len -= DS_DATA_MAX_SIZE;

View File

@ -25,4 +25,4 @@
<a id='menu_comments' class="mdl-navigation__link" href="javascript:panelConsole()"><i class="mdl-color-text--blue-grey-400 material-icons">computer</i>Console</a>
--><!-- <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons">flag</i>Updates</a> --><!--<a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons">local_offer</i>Promos</a> --><!--<a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons">settings</i>Settings</a>--><div class="mdl-layout-spacer"></div><a id="menu_help" class="mdl-navigation__link"><i class="mdl-color-text--blue-grey-400 material-icons">help_outline</i>Help</a></nav></div><button onclick="statusConsole()" style="right:75px !important" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect toproundbutton"><b class="material-icons" style="font-family:monospace;opacity:1">$</b></button> <button onclick="statusNext()" style="right:5px !important" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect toproundbutton"><i class="material-icons" style="opacity:1">keyboard_arrow_up</i></button><main class="mdl-layout__content" style="line-height:1.2em" id="container"><div id="ruler"></div><div id="content"></div></main><footer class="mdl-mini-footer statusbar" id="statusbar_scroll"><div class="statusbar_title" id="statusbar_title" style="width:100%"></div><div class="statusbar_body" id="statusbar"></div></footer></div><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" style="position: fixed; left: -1000px; height: -1000px"><defs><mask id="piemask" maskContentUnits="objectBoundingBox"><circle cx="0.5" cy="0.5" r="0.49" fill="white"/><circle cx="0.5" cy="0.5" r="0.40" fill="black"/></mask><g id="piechart"><circle cx="0.5" cy="0.5" r="0.5"/><path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 1 0.95 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)"/></g><g id="piechart2"><circle cx="0.5" cy="0.5" r="0.5"/><path d="M 0.5 0.5 0.5 0 A 0.5 0.5 0 0 0 0.05 0.28 z" stroke="none" fill="rgba(255, 255, 255, 0.75)"/></g></defs></svg> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 250" style="position: fixed; left: -1000px; height: -1000px"><defs><g id="chart"><g id="Gridlines"><line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="27.3" x2="468.3" y2="27.3"/><line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="66.7" x2="468.3" y2="66.7"/><line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="105.3" x2="468.3" y2="105.3"/><line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="144.7" x2="468.3" y2="144.7"/><line fill="#888888" stroke="#888888" stroke-miterlimit="10" x1="0" y1="184.3" x2="468.3" y2="184.3"/></g><g id="Numbers"><text transform="matrix(1 0 0 1 485 29.3333)" fill="#888888" font-family="'Roboto'" font-size="9">500</text><text transform="matrix(1 0 0 1 485 69)" fill="#888888" font-family="'Roboto'" font-size="9">400</text><text transform="matrix(1 0 0 1 485 109.3333)" fill="#888888" font-family="'Roboto'" font-size="9">300</text><text transform="matrix(1 0 0 1 485 149)" fill="#888888" font-family="'Roboto'" font-size="9">200</text><text transform="matrix(1 0 0 1 485 188.3333)" fill="#888888" font-family="'Roboto'" font-size="9">100</text><text transform="matrix(1 0 0 1 0 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">1</text><text transform="matrix(1 0 0 1 78 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">2</text><text transform="matrix(1 0 0 1 154.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">3</text><text transform="matrix(1 0 0 1 232.1667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">4</text><text transform="matrix(1 0 0 1 309 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">5</text><text transform="matrix(1 0 0 1 386.6667 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">6</text><text transform="matrix(1 0 0 1 464.3333 249.0003)" fill="#888888" font-family="'Roboto'" font-size="9">7</text></g><g id="Layer_5"><polygon opacity="0.36" stroke-miterlimit="10" points="0,223.3 48,138.5 154.7,169 211,88.5
294.5,80.5 380,165.2 437,75.5 469.5,223.3 "/></g><g id="Layer_4"><polygon stroke-miterlimit="10" points="469.3,222.7 1,222.7 48.7,166.7 155.7,188.3 212,132.7
296.7,128 380.7,184.3 436.7,125 "/></g></g></defs></svg><dialog id="networkerr" class="mdl-dialog"><div class="mdl-dialog__content"><p class="mdl-typography--text-center"><i class="material-icons" style="font-size:54px">error_outline</i></p><p>A network error has occured</p><p class="next-attempt"><em>This error isn't recoverable.</em></p></div><div class="mdl-dialog__actions mdl-dialog__actions--full-width"><div class="first-attempt"><button type="button" class="mdl-button close">Ok</button> <button type="button" class="mdl-button retry">Try again</button></div><div class="next-attempt"><button type="button" class="mdl-button ok">OK</button></div></div></dialog><script type="application/javascript" src="./r2.js"></script><script type="application/javascript" src="./vendors/dialog-polyfill.js"></script><script type="application/javascript" src="./vendors/jquery.min.js"></script><script type="application/javascript" src="./vendors/jquery.dataTables.min.js"></script><script type="application/javascript" src="./vendors/material.min.js"></script><script type="application/javascript" src="./vendors/mdl-selectfield.min.js"></script><script type="application/javascript" src="./vendors/FileSaver.min.js"></script><script type="application/javascript" src="./legacy.js"></script><script type="application/javascript" src="./app.js"></script></body></html>
296.7,128 380.7,184.3 436.7,125 "/></g></g></defs></svg><dialog id="networkerr" class="mdl-dialog"><div class="mdl-dialog__content"><p class="mdl-typography--text-center"><i class="material-icons" style="font-size:54px">error_outline</i></p><p>A network error has occurred</p><p class="next-attempt"><em>This error isn't recoverable.</em></p></div><div class="mdl-dialog__actions mdl-dialog__actions--full-width"><div class="first-attempt"><button type="button" class="mdl-button close">Ok</button> <button type="button" class="mdl-button retry">Try again</button></div><div class="next-attempt"><button type="button" class="mdl-button ok">OK</button></div></div></dialog><script type="application/javascript" src="./r2.js"></script><script type="application/javascript" src="./vendors/dialog-polyfill.js"></script><script type="application/javascript" src="./vendors/jquery.min.js"></script><script type="application/javascript" src="./vendors/jquery.dataTables.min.js"></script><script type="application/javascript" src="./vendors/material.min.js"></script><script type="application/javascript" src="./vendors/mdl-selectfield.min.js"></script><script type="application/javascript" src="./vendors/FileSaver.min.js"></script><script type="application/javascript" src="./legacy.js"></script><script type="application/javascript" src="./app.js"></script></body></html>

View File

@ -194,7 +194,7 @@ Changes in 1.2.5.2 (17 Dec 2011)
- Add a transparent write mode to gzopen() when 'T' is in the mode
- Update python link in zlib man page
- Get inffixed.h and MAKEFIXED result to match
- Add a ./config --solo option to make zlib subset with no libary use
- Add a ./config --solo option to make zlib subset with no library use
- Add undocumented inflateResetKeep() function for CAB file decoding
- Add --cover option to ./configure for gcc coverage testing
- Add #define ZLIB_CONST option to use const in the z_stream interface

View File

@ -627,7 +627,7 @@ prl 1~[0]
EOF
RUN
NAME=pib from begining of bb
NAME=pib from beginning of bb
FILE=../bins/elf/analysis/x64-loop
EXPECT=<<EOF
push rbp

View File

@ -38,7 +38,7 @@ EXPECT=<<EOF
EOF
RUN
NAME=radiff2 string comparsion
NAME=radiff2 string comparison
FILE=-
CMDS=!!radiff2 -z ../bins/elf/elf_one_symbol_shdr ../bins/elf/elf_one_symbol_shdr1
EXPECT=<<EOF
@ -46,7 +46,7 @@ EXPECT=<<EOF
EOF
RUN
NAME=radiff2 unified string comparsion
NAME=radiff2 unified string comparison
FILE=-
CMDS=!!radiff2 -quz ../bins/elf/elf_one_symbol_shdr ../bins/elf/elf_one_symbol_shdr1
EXPECT=<<EOF
@ -55,7 +55,7 @@ EXPECT=<<EOF
EOF
RUN
NAME=radiff2 gnu unified string comparsion
NAME=radiff2 gnu unified string comparison
FILE=-
BROKEN=1
CMDS=!!radiff2 -Uz ../bins/elf/elf_one_symbol_shdr ../bins/elf/elf_one_symbol_shdr1 | tail -n 2