Questions tagged [base-address]
58 questions
54
votes
4 answers
What is the Base Address Register (BAR) in PCIe?
After going through some basics documents what I understood is, Base Address Register is Address space which can be accessed by PCIe IP. PCIe IP can either transmit data in Base Address Register or it can write received data on to it.
Am I right? Or…

tollin jose
- 845
- 4
- 12
- 23
16
votes
7 answers
EXE or DLL Image base address
Is there a way in C++/windows to get the exe/DLL image base address?
thanks :)

Idov
- 5,006
- 17
- 69
- 106
12
votes
3 answers
Can several WCF services share a common BaseAddress?
I've got an assembly containing several WCF services, each with its own contract. It all works nicely. The service config in the app.config for the service looks like this:

Sam
- 28,421
- 49
- 167
- 247
11
votes
2 answers
.NET assemblies and DLL rebasing
According to this article rebasing is not necessary for .NET assemblies due to JIT compilation of the code. The article states:
"JIT-compiled code does not have a rebasing problem since the addresses are generated at run time based on where the…

Brian Rasmussen
- 114,645
- 34
- 221
- 317
10
votes
3 answers
DLLs, memory mapping, base address, memory usage, and .NET?
Before I start with the real question, let me just say that I might get some of the details here wrong. If so, please arrest me on those as well as, or even instead of answering my question.
My question is about DLLs and .NET, basically. We have an…

Lasse V. Karlsen
- 380,855
- 102
- 628
- 825
8
votes
3 answers
How to get the starting/base address of a process in C++?
I'm testing this whole base/static pointer thing by using it on Microsoft's Spider Solitaire. So I got the base pointer of the amount of "moves" the player has used, and cheat engine tells me it's "SpiderSolitaire.exe+B5F78". So now I'm stuck on how…

ZimZim
- 3,291
- 10
- 49
- 67
7
votes
1 answer
Finding the correct baseaddress
I realized that my version of getting the correct baseaddress was wrong
Process[] iexp = Process.GetProcessesByName("Solitaire");
if (iexp.Length == 0) {
//EXIT
}
Process internet = iexp[0];
uint baseAddress =…

Maik Klein
- 15,548
- 27
- 101
- 197
7
votes
4 answers
Get the address of an instruction in C/C++
Any ways to get the address of an instruction?
I have tried to used to labeled the instruction and get the address of the label but seems that it only works in GCC compiler with the && operator. (Refer to: this article) What if other compilers?
Any…

nigong
- 1,727
- 3
- 19
- 33
5
votes
2 answers
Reading Armv8-A registers with devmem from GNU/Linux shell
I want to read the values of some Cortex-A53 registers, such as
D_AA64ISAR0_EL1 (AArch64)
ID_ISAR5 (Aarch32)
ID_ISAR5_EL1 (Aarch64)
Unfortunately, I lack a little embedded/assembly experience. The documentation reveals
To access the…

smoothware
- 898
- 7
- 19
5
votes
2 answers
How to access PCIe configuration space? (ECAM)
In order to access PCI Configuration Space, I/O port address 0xCF8, 0xCFC is used according to various articles.
mov eax, dword 0x80000000
mov dx, word 0x0CF8
out dx, eax
mov dx, word 0x0CFC
in eax, dx
The value of eax in the above code was…

YoonSeok OH
- 647
- 2
- 7
- 15
5
votes
1 answer
Getting base address of a process
I'm trying to make a program that read the timer value from Minesweeper. (OS is windows 7 64bit)
Using cheat engine I found the base address of the variable, but it changes every time I run Minesweeper.
What do I need to do to find out the base…

yoni0505
- 349
- 2
- 4
- 8
4
votes
4 answers
Finding device base address to communicate via inb() and outb()
I am trying to communicate with a disk drive using inb(), inw(), outb() and outw() commands so I can find specific information about the drive. However, to use these commands, I need the correct I/O ports for the device. When I have the correct…

Kevin S
- 2,713
- 24
- 31
3
votes
1 answer
Why there are 6 Base Address Registers (BARs) in PCIe endpoint?
After some reading about the PCIe, I came around the PCI compatible configuration headers and after understanding the header there is Base address Register(BAR) field. Where there are total 6 BARs in each PCIe endpoint. Why there are 6 BARs and not…

Rahul Talole
- 137
- 1
- 2
- 9
3
votes
1 answer
Convert Cheat Engine base address
I found a memory address and used Cheat Engine's pointer scan to get referring pointers. To use it in a script I need a base address, which is [game.exe+009274]. How to convert this to an address for use in AutoIt script?
I use NomadMemory.au3 UDF.

Jumperz Ko
- 371
- 1
- 3
- 14
3
votes
2 answers
How does base address register gets address?
I've finished developing a pcie driver for an FPGA under a linux distributiuon. Everything works fine. But I'm wondering where the base address register in the PCI Endpoint of the FPGA gets the base address. When I've generated the PCIe Endpoint I…

user3619609
- 29
- 1
- 3