fix spelling errors (#699)

pull/701/head
Hye Sung Jung 6 years ago committed by Disconnect3d
parent 829f36af4c
commit ecae891968

@ -10,7 +10,7 @@ Feel free to update the list below!
* The dashboard/display/context we are displaying is done by `pwndbg/commands/context.py` which is invoked through GDB's prompt hook (which we defined in `pwndbg/prompt.py` as `prompt_hook_on_stop`). * The dashboard/display/context we are displaying is done by `pwndbg/commands/context.py` which is invoked through GDB's prompt hook (which we defined in `pwndbg/prompt.py` as `prompt_hook_on_stop`).
* All commands should be defined in `pwndbg/commands` - most of them lie in seperate files but some files contains many of them (e.g. commands corresponding to windbg debugger - in `windbg.py` or some misc commands in `misc.py`). We would also want to make all of them to use `ArgparsedCommand` (instead of `Command` or `ParsedCommand` decorators). * All commands should be defined in `pwndbg/commands` - most of them lie in separate files but some files contains many of them (e.g. commands corresponding to windbg debugger - in `windbg.py` or some misc commands in `misc.py`). We would also want to make all of them to use `ArgparsedCommand` (instead of `Command` or `ParsedCommand` decorators).
* We change a bit GDB settings - this can be seen in `pwndbg/__init__.py` - there are also imports for all pwndbg submodules * We change a bit GDB settings - this can be seen in `pwndbg/__init__.py` - there are also imports for all pwndbg submodules

@ -201,7 +201,7 @@ class constants:
NT_AUXV = 6 NT_AUXV = 6
# #
# Note to userspace developers: size of NT_SIGINFO note may increase # Note to userspace developers: size of NT_SIGINFO note may increase
# in the future to accomodate more fields, don't assume it is fixed! # in the future to accommodate more fields, don't assume it is fixed!
# #
NT_SIGINFO = 0x53494749 NT_SIGINFO = 0x53494749
NT_FILE = 0x46494c45 NT_FILE = 0x46494c45

@ -66,7 +66,7 @@ def handle(name='Error'):
else: else:
exc_type, exc_value, exc_traceback = sys.exc_info() exc_type, exc_value, exc_traceback = sys.exc_info()
print(message.error('Exception occured: {}: {} ({})'.format(name, exc_value, exc_type))) print(message.error('Exception occurred: {}: {} ({})'.format(name, exc_value, exc_type)))
print(message.notice('For more info invoke `') + print(message.notice('For more info invoke `') +
message.hint('set exception-verbose on') + message.hint('set exception-verbose on') +

@ -46,7 +46,7 @@ def which(name, all = False):
returns a full path if found. returns a full path if found.
If `all` is :const:`True` the set of all found locations is returned, else If `all` is :const:`True` the set of all found locations is returned, else
the first occurence or :const:`None` is returned. the first occurrence or :const:`None` is returned.
Arguments: Arguments:
`name` (str): The file to search for. `name` (str): The file to search for.

Loading…
Cancel
Save