Pregunta

Me gustaría inspeccionar el contenido de un OSDictionary desde mi kext. ¿Hay alguna manera conveniente de imprimir el contenido en system.log o similar? (ala CFShow ())?

thx - > adv,

| K <

¿Fue útil?

Solución

He encontrado un fragmento de código para ayudar en esto (que imprime las claves dict):

static void printDictionaryKeys (OSDictionary * inDictionary, char * inMsg)

la fuente está aquí: printDictionaryKeys ()

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top