美文网首页
What's a symbol?

What's a symbol?

作者: 猴子王 | 来源:发表于2017-09-26 16:40 被阅读13次

In computer, the instructions of a function are stored in memory. When the process is going to call the function, it needs to know where to locate the function in memory, and then executes its instructions at there. That is to say , the process needs to know the memory address of a function according to its name. The mapping of function names and addresses is stored in the "symbol table". "symbol" is the name of the function, according to which the process locates the function's address I'm memory and then jumps there to execute it.
Imagine such a scenario: Your App calls a "lookup", rhino it can import the dylib, and call the function as it wishes, causing great consumption of your server resources.
To avoid this, symbols are divided into 2 types, i.e. public symbols and private symbols (Besides, there are stripped symbols). Private symbols are not property of yours, you can not make use of them as you wish. That's to say, MSHookFunction will fail on private symbols without further manipulation. So saurik provides the MSFindSymbol function to access private symbols.

相关文章

  • What's a symbol?

    In computer, the instructions of a function are stored in...

  • ES6-Symbol

    创建Symbol实例let s1 = Symbol()let s2 = Symbol('another symbo...

  • symbol

    一种新增的原始数据类型 let s=Symbol(); typeof s // "symbol" 描述: 可以添加...

  • What's this?

    一、apply、call 有什么作用,什么区别? 1.二者都属于function.prototype的一个方法,以...

  • What's this?

    What's this? 由于运行期绑定的特性,JavaScript 中的 this 含义非常多,它可以是全局对象...

  • what's this

    问答 1、apply、call 有什么作用,什么区别 apply和call的作用:都是为了改变函数内部的this指...

  • what's this???

    目录1.this究竟是什么2.绑定this的方法3.caller、arguments和callee 1.this究...

  • PHP Basic

    PHP symbol: Every PHP s...

  • 2020-05-09更换基因名

    library(clusterProfiler) yy<-bitr(data$Symbol,fromType="S...

  • 做一个爱笑的人

    “Share your smile with the world. It's a symbol of friend...

网友评论

      本文标题:What's a symbol?

      本文链接:https://www.haomeiwen.com/subject/pyasextx.html