mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-4323: Add gdb/ssh and gdbserver/ssh connectors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user