Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer address targeting #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ class Application : TkdApplication {
if (!codeIsExecute) {
try {
startAddress = addressEntry.getValue.to!uint(16);
if (startAddress < 0x80000000 || startAddress > 0x81FFFFFF) throw new Exception("ayy lmao");
if (startAddress < 0x80000000 || startAddress > 0x91FFFFFF) throw new Exception("ayy lmao");
}
catch (Exception e) {
errorNotice("Your address should be a hex number between 80000000 and 81FFFFFF (or use N/A for the C0 codetype).");
errorNotice("Your address should be a hex number between 80000000 and 81FFFFFF (or use N/A for the C0 codetype). If you're using a pointer address, use a hex number between 90000000 and 91FFFFFF.");
return;
}
}
Expand Down Expand Up @@ -433,4 +433,4 @@ class Application : TkdApplication {
void main() {
auto application = new Application;
application.run();
}
}