Post Reply 
Function factory function, and other undocumented functions
04-25-2019, 04:09 PM
Post: #1
Function factory function, and other undocumented functions
I recall once seeing a function that you could pass a vector of arguments and an expression, and it would return a function object, built using said parameters. Does anyone know the name for it?

There are a couple of functions I was able to find, but there's no documentation written for them, like ``bloc`` and ``backquote``. Is there any way I can extract the name of these functions without disassembling the firmware blobs?
Find all posts by this user
Quote this message in a reply
04-25-2019, 10:55 PM
Post: #2
RE: Function factory function, and other undocumented functions
I was able to find the function name by reading the firmware blob using a simple regex pattern and a text editor. The function name is "program". From what I can see the function can be called like this ``program(<[arg1, arg2, ...]>, <idk what this does>, <function body>)``.

   
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)