Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLPX-84435 Support printing local variables #352

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 93 additions & 54 deletions sdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,63 +28,102 @@
# the modules are imported and attempt to have a cleaner
# separation of concerns between modules.
#
from sdb.error import (Error, CommandNotFoundError, CommandError,
CommandInvalidInputError, SymbolNotFoundError,
CommandArgumentsError, CommandEvalSyntaxError,
ParserError)
from sdb.target import (create_object, get_object, get_prog, get_type,
get_pointer_type, get_target_flags, get_symbol, is_null,
type_canonical_name, type_canonicalize,
type_canonicalize_name, type_canonicalize_size,
type_equals, Runtime, All, Kernel, Userland, Module,
Library)
from sdb.command import (Address, Cast, Command, InputHandler, Locator,
PrettyPrinter, Walk, Walker, SingleInputCommand,
get_registered_commands, register_commands)
from sdb.error import (
Error,
CommandNotFoundError,
CommandError,
CommandInvalidInputError,
SymbolNotFoundError,
CommandArgumentsError,
CommandEvalSyntaxError,
ParserError,
)
from sdb.target import (
create_object,
get_object,
get_prog,
get_type,
set_thread,
get_thread,
set_frame,
get_frame,
get_pointer_type,
get_target_flags,
get_symbol,
is_null,
type_canonical_name,
type_canonicalize,
type_canonicalize_name,
type_canonicalize_size,
type_equals,
Runtime,
All,
Kernel,
Userland,
Module,
Library,
)
from sdb.command import (
Address,
Cast,
Command,
InputHandler,
Locator,
PrettyPrinter,
Walk,
Walker,
SingleInputCommand,
get_registered_commands,
register_commands,
)
from sdb.pipeline import execute_pipeline, get_first_type, invoke

__all__ = [
'Address',
'All',
'Cast',
'Command',
'CommandArgumentsError',
'CommandError',
'CommandEvalSyntaxError',
'CommandInvalidInputError',
'CommandNotFoundError',
'Error',
'InputHandler',
'Kernel',
'Library',
'Locator',
'Module',
'ParserError',
'PrettyPrinter',
'Runtime',
'SingleInputCommand',
'SymbolNotFoundError',
'Userland',
'Walk',
'Walker',
'create_object',
'execute_pipeline',
'invoke',
'is_null',
'get_first_type',
'get_object',
'get_pointer_type',
'get_prog',
'get_registered_commands',
'get_symbol',
'get_target_flags',
'get_type',
'register_commands',
'type_canonical_name',
'type_canonicalize',
'type_canonicalize_name',
'type_canonicalize_size',
'type_equals',
"Address",
"All",
"Cast",
"Command",
"CommandArgumentsError",
"CommandError",
"CommandEvalSyntaxError",
"CommandInvalidInputError",
"CommandNotFoundError",
"Error",
"InputHandler",
"Kernel",
"Library",
"Locator",
"Module",
"ParserError",
"PrettyPrinter",
"Runtime",
"SingleInputCommand",
"SymbolNotFoundError",
"Userland",
"Walk",
"Walker",
"create_object",
"execute_pipeline",
"invoke",
"is_null",
"get_first_type",
"get_frame",
"get_object",
"get_pointer_type",
"get_prog",
"get_registered_commands",
"get_thread",
"get_symbol",
"get_target_flags",
"get_type",
"register_commands",
"set_frame",
"set_thread",
"type_canonical_name",
"type_canonicalize",
"type_canonicalize_name",
"type_canonicalize_size",
"type_equals",
]

#
Expand Down
Loading
Loading