Searched refs:DATA_RVA (Results 1 – 1 of 1) sorted by relevance
2029 #define DATA_RVA(ptr) (page_size + ((char *)(ptr) - (char *)&data)) in test_import_resolution() macro2043 …nt.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress = DATA_RVA(data.descr… in test_import_resolution()2045 … nt.OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_TLS].VirtualAddress = DATA_RVA(&data.tls); in test_import_resolution()2048 U(data.descr[0]).OriginalFirstThunk = DATA_RVA( data.original_thunks ); in test_import_resolution()2049 data.descr[0].FirstThunk = DATA_RVA( data.thunks ); in test_import_resolution()2050 data.descr[0].Name = DATA_RVA( data.module ); in test_import_resolution()2053 data.original_thunks[0].u1.AddressOfData = DATA_RVA( &data.function ); in test_import_resolution()2056 data.tls.StartAddressOfRawData = nt.OptionalHeader.ImageBase + DATA_RVA( data.tls_data ); in test_import_resolution()2058 data.tls.AddressOfIndex = nt.OptionalHeader.ImageBase + DATA_RVA( &data.tls_index ); in test_import_resolution()2133 #undef DATA_RVA in test_import_resolution()