Skip to content

Commit

Permalink
Fix getType return offset for linux
Browse files Browse the repository at this point in the history
A "endbr64" instruction was added before "mov eax, type".
  • Loading branch information
cvuchener committed Sep 24, 2023
1 parent cc00cd0 commit 4aaaa18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dfinstancelinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class DFInstanceLinux : public DFInstance {
USIZE write_raw(const VIRTADDR addr, const USIZE bytes, const void *buffer);
USIZE write_string(const VIRTADDR addr, const QString &str);

int VM_TYPE_OFFSET() {return 0x5;}

bool df_running();

bool attach();
Expand Down

0 comments on commit 4aaaa18

Please sign in to comment.