I’m trying to figure out how in the hell to find the memory address of a function in ghidra but i can’t seem to come up with anything, apparently the function name “FUN_140001540″ refers to +”140001540” from the main module base address, is this correct?
I am trying to make a crackme and internally call the function using a dll:
#include <iostream>
void Function() {
std::cout << "FINISHn";
}
int main() {
std::string Password = "yeeterskeeter";
std::string Guess;
std::cout << "ENTER PASSWORD : n";
std::cin >> Guess;
if (Guess == Password) {
Function();
}
return 69;
}
7