在iOS下,是否有人知道如何为可执行文件生成UUID以及可以在其中编码哪些信息? [英] Under iOS, does anyone know how UUID's are generated for executables and what information may be encoded therein?

查看:393
本文介绍了在iOS下,是否有人知道如何为可执行文件生成UUID以及可以在其中编码哪些信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iOS上编译的应用程序在编译时被分配标识符(UUID)。这些标识符可以由dwarfdump工具显示。有谁知道如何生成UUID以及可以在其中编码哪些信息?

Applications compiled on iOS are assigned identifiers (UUID's) at compile time. These identifiers may be revealed by the dwarfdump tool. Does anyone know how UUID's are generated and what information may be encoded within them?

推荐答案

几乎可以肯定它们是由CoreFoundation生成的UUID机器,它根据以太网卡的MAC地址,时间戳和一些其他杂项信息创建它们。您可以通过运行 uuidgen 来生成自己的UUID。至于它们中编码的信息,所有这些都是你MAC地址的碎片。几乎唯一的相关性是,理论上可能有人确定在同一台机器上生成了多个UUID,但我不知道这是否真的可能。

Almost certainly they're generated by the CoreFoundation UUID machinery, which creates them based off of the MAC address of your ethernet card, the timestamp, and some other miscellaneous information. You can generate your own UUIDs by running uuidgen. As for the information encoded in them, all that's really there is fragments of your MAC address. Pretty much the only relevance this has is it may be theoretically possible for someone to determine that multiple UUIDs were generated on the same machine, but I don't know if that's actually possible.

这篇关于在iOS下,是否有人知道如何为可执行文件生成UUID以及可以在其中编码哪些信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆