benilla-re systems structs docs

ReadAddOnURL

function · ui · orchestration

Address
0x51d4c0 · 61 bytes, up to 0x51d4fc
Meaning
Reads an add-on's .url file into its record
Confidence
verified, proof two
Finding
ui/addons#secure-add-ons

Finding: Secure add-ons in ui: add-ons

An add-on that declares Secure takes its key from <Name>.pub and its URL from <Name>.url in its folder, and is named to the realm server in the auth packet's add-on block. The server's reply, read for these add-ons in list order, can replace the key and URL, which the client then writes back to those files, and gives a state: 0 bans the add-on, 2 hides it from the list, and every state but 0 has its toc checked against its signature. A good signature makes the add-on secure (+0x24 0) and stores the digest its files must hash to; a mismatched one marks it corrupt. Every other add-on stays insecure (+0x24 1).

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.