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 22, 2023
1 parent b24f0b0 commit 6794b2c
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 6794b2c

Please sign in to comment.