mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge remote-tracking branch
'origin/GP-4324_Dan_moreGdbLaunchers--SQUASHED'
This commit is contained in:
commit
fea1243894
20 changed files with 396 additions and 114 deletions
|
@ -31,26 +31,51 @@ public interface DebuggerConsoleService {
|
|||
* Log a message to the console
|
||||
*
|
||||
* <p>
|
||||
* <b>WARNING:</b> See {@link #log(Icon, String, ActionContext)} regarding HTML.
|
||||
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
|
||||
*
|
||||
* @param icon an icon for the message
|
||||
* @param message the HTML-formatted message
|
||||
*/
|
||||
void log(Icon icon, String message);
|
||||
|
||||
/**
|
||||
* Log an error message to the console
|
||||
*
|
||||
* <p>
|
||||
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
|
||||
*
|
||||
* @param icon an icon for the message
|
||||
* @param message the HTML-formatted message
|
||||
* @param error an exception, if applicable
|
||||
*/
|
||||
void log(Icon icon, String message, Throwable error);
|
||||
|
||||
/**
|
||||
* Log an actionable message to the console
|
||||
*
|
||||
* <p>
|
||||
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
|
||||
*
|
||||
* @param icon an icon for the message
|
||||
* @param message the HTML-formatted message
|
||||
* @param context an (immutable) context for actions
|
||||
*/
|
||||
void log(Icon icon, String message, ActionContext context);
|
||||
|
||||
/**
|
||||
* Log an actionable error message to the console
|
||||
*
|
||||
* <p>
|
||||
* <b>WARNING:</b> The log accepts and will interpret HTML in its messages, allowing a rich and
|
||||
* flexible display; however, you MUST sanitize any content derived from the user or target. We
|
||||
* recommend using {@link HTMLUtilities#escapeHTML(String)}.
|
||||
*
|
||||
* @param icon an icon for the message
|
||||
* @param message the HTML-formatted message
|
||||
* @param error an exception, if applicable
|
||||
* @param context an (immutable) context for actions
|
||||
*/
|
||||
void log(Icon icon, String message, ActionContext context);
|
||||
void log(Icon icon, String message, Throwable error, ActionContext context);
|
||||
|
||||
/**
|
||||
* Remove an actionable message from the console
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue