va falloir parser l'opcode....
sinon ajout de plusieur methode
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <algorithm>
|
||||
#include "Breakpoint.hpp"
|
||||
|
||||
|
||||
class Debugger {
|
||||
public:
|
||||
Debugger(const std::string& prog_name);
|
||||
@@ -14,7 +15,13 @@ public:
|
||||
void set_breakpoint(pid_t pid, std::intptr_t addr);
|
||||
void remove_breakpoint(pid_t pid, std::intptr_t addr);
|
||||
void run();
|
||||
void print_registers(pid_t pid);
|
||||
void DEBUGING(void);
|
||||
void go_until_x0_filled(void);
|
||||
void single_step(void);
|
||||
uint64_t get_x0(void);
|
||||
uint64_t get_pc(void);
|
||||
uint32_t get_opcode(void);
|
||||
|
||||
private:
|
||||
void run_target();
|
||||
|
||||
Reference in New Issue
Block a user