static int bin_pe_init_exports(RBinPEObj* pe) {
	PE_(image_data_directory) * data_dir_export = &pe->data_directory[PE_IMAGE_DIRECTORY_ENTRY_EXPORT];
	PE_DWord export_dir_paddr = PE_(va2pa) (pe, data_dir_export->VirtualAddress);
	if (!export_dir_paddr) {
		// This export-dir-paddr should only appear in DLL files
		// pe_printf ("Warning: Cannot find the paddr of the export directory\n");
		return false;
	}
	// sdb_setn (DB, "hdr.exports_directory", export_dir_paddr);
	// pe_printf ("Pexports paddr at 0x%"PFMT64x"\n", export_dir_paddr);
	if (!(pe->export_directory = malloc (sizeof (PE_(image_export_directory))))) {
		r_sys_perror ("malloc (export directory)");
		return false;
	}
	if (read_image_export_directory (pe->b, export_dir_paddr, pe->export_directory) < 0) {
		pe_printf ("Warning: read (export directory)\n");
		R_FREE (pe->export_directory);
		return false;
	}
	return true;
}
static int bin_pe_init_exports(RBinPEObj* pe) {
	PE_(image_data_directory) * data_dir_export = &pe->data_directory[PE_IMAGE_DIRECTORY_ENTRY_EXPORT];
	PE_DWord export_dir_paddr = PE_(va2pa) (pe, data_dir_export->VirtualAddress);
	if (!export_dir_paddr) {
		 
		 
		return false;
	}
	 
	 
	if (!(pe->export_directory = malloc (sizeof (PE_(image_export_directory))))) {
		r_sys_perror ("malloc (export directory)");
		return false;
	}
	if (read_image_export_directory (pe->b, export_dir_paddr, pe->export_directory) < 0) {
		pe_printf ("Warning: read (export directory)\n");
		R_FREE (pe->export_directory);
		return false;
	}
	return true;
}