Let's bring exampleWe have string0000000000bd2906 db CurrentKey, 0 ; DATA XREF=sub_555670+3390And it's used here00000000005563ae lea rsi, qword [0xbd2906] ; CurrentKeyDisassembler already knows where is variable reference. Knows that CurrentKey string is stored at 0xbd2906 and used at 0x5563ae.Question is, how can i manually locate where variable is used without using disassembler (to do this automatically from code) ? Can someone explain it or provide cpp example ?
Finding variable reference in cpp
disassembly;assembly;binary analysis;c++