Commands and Extensibility
While x64dbg Automate strives to provide an idiomatic and easy to understand abstraction layer on top of the command execution abilities of x64dbg, it would be foolhardy to say every feature is covered perfectly for every use case.
Raw command execution capabilities allow users to extend and customize x64dbg Automate beyond the built-in abstractions.
API Method Reference
cmd_sync(cmd_str)
Evaluates a command and returns the success or failure.
See: https://help.x64dbg.com/en/latest/commands/
Parameters:
Name | Type | Description | Default |
---|---|---|---|
cmd_str
|
str
|
The command to execute |
required |
Returns:
Type | Description |
---|---|
bool
|
Success |
Source code in x64dbg_automate/commands_xauto.py
def cmd_sync(self, cmd_str: str) -> bool:
"""
Evaluates a command and returns the success or failure.
See: [https://help.x64dbg.com/en/latest/commands/](https://help.x64dbg.com/en/latest/commands/)
Args:
cmd_str: The command to execute
Returns:
Success
"""
return self._send_request(XAutoCommand.XAUTO_REQ_DBG_CMD_EXEC_DIRECT, cmd_str)