Skip to content

Instantly share code, notes, and snippets.

@jney
Created February 15, 2011 20:58
Show Gist options
  • Save jney/828229 to your computer and use it in GitHub Desktop.
Save jney/828229 to your computer and use it in GitHub Desktop.
nm $(which lua) > lua.out
000000010002e15c s stub helpers
000000010001e230 t _Arith
000000010000e070 t _DumpFunction
000000010002e0d8 s _KEY_HOOK
000000010001c4c0 t _LoadFunction
000000010001c3e0 t _LoadString
00000001000361f0 D _NXArgc
00000001000361f8 D _NXArgv
U __DefaultRuneLocale
U ___error
U ___maskrune
0000000100036208 D ___progname
U ___sprintf_chk
U ___stack_chk_fail
U ___stack_chk_guard
U ___stderrp
U ___stdinp
U ___stdoutp
U ___strncpy_chk
U ___tolower
U ___toupper
U __longjmp
0000000100000000 A __mh_execute_header
U __setjmp
U _acos
U _add_history
0000000100027bf0 t _addfield
0000000100028810 t _addintlen
0000000100015ff0 t _adjust_assign
U _asin
0000000100016fb0 t _assignment
U _atan
U _atan2
0000000100023790 t _auxresume
0000000100027dd0 t _auxsort
0000000100023ac0 t _auxupvalue
0000000100035760 s _base_funcs
0000000100019430 t _body
0000000100019e50 t _callallgcTM
000000010002e130 s _cat.4606
0000000100035ec0 s _catnames.4607
U _ceil
00000001000162f0 t _check_match
U _clearerr
U _clock
U _close
00000001000160c0 t _close_func
0000000100019fa0 t _close_state
00000001000356c0 s _co_funcs
00000001000093c0 t _codearith
000000010000a190 t _codecomp
0000000100017470 t _constructor
U _cos
U _cosh
0000000100025de0 t _createstdfile
0000000100023fb0 t _db_debug
0000000100024540 t _db_errorfb
0000000100023f80 t _db_getfenv
0000000100024850 t _db_gethook
0000000100024110 t _db_getinfo
0000000100023e40 t _db_getlocal
0000000100023e00 t _db_getmetatable
0000000100023c30 t _db_getregistry
0000000100023bb0 t _db_getupvalue
0000000100023da0 t _db_setfenv
00000001000249a0 t _db_sethook
0000000100024b40 t _db_setlocal
0000000100023bc0 t _db_setmetatable
0000000100023b80 t _db_setupvalue
0000000100035940 s _dblib
U _difftime
0000000100007310 t _discharge2reg
U _dlclose
U _dlerror
U _dlopen
U _dlsym
0000000100001290 t _docall
0000000100001730 t _dotty
000000010002e060 s _dummynode_
0000000100036200 D _environ
U _exit
U _exp
0000000100008340 t _exp2reg
00000001000025c0 t _f_Ccall
0000000100002650 t _f_call
00000001000257f0 t _f_flush
0000000100025ae0 t _f_lines
0000000100019e60 t _f_luaopen
000000010000c870 t _f_parser
0000000100025a70 t _f_read
0000000100025920 t _f_seek
0000000100025860 t _f_setvbuf
0000000100025a00 t _f_write
U _fclose
U _feof
U _ferror
U _fflush
U _fgets
000000010002b5c0 t _findfile
0000000100035b40 s _flib
U _floor
U _fmod
U _fopen
0000000100019a00 t _forbody
0000000100027980 t _foreach
0000000100027b20 t _foreachi
0000000100017950 t _forstat
U _fprintf
U _fputc
U _fputs
U _fread
U _free
000000010000efb0 t _freeobj
U _freopen
U _frexp
U _fscanf
U _fseek
U _ftell
00000001000177a0 t _funcargs
U _fwrite
00000001000261d0 t _g_iofile
0000000100025160 t _g_read
0000000100024d40 t _g_write
000000010002bc40 t _gctm
00000001000230d0 t _generic_reader
00000001000203a0 t _getF
00000001000202c0 t _getS
U _getc
U _getenv
0000000100022a20 t _getfunc
0000000100023c50 t _gethooktable
0000000100027ae0 t _getn
000000010000b240 t _getobjname
00000001000284b0 t _gfind_nodef
0000000100036218 b _globalL
00000001000286a0 t _gmatch
000000010002aac0 t _gmatch_aux
U _gmtime
0000000100023cf0 t _hookf
0000000100035a40 s _hooknames.3990
0000000100025b60 t _io_close
0000000100025570 t _io_fclose
00000001000255d0 t _io_flush
00000001000254b0 t _io_gc
0000000100026360 t _io_input
0000000100026060 t _io_lines
0000000100024e30 t _io_noclose
0000000100025d00 t _io_open
0000000100026340 t _io_output
0000000100025510 t _io_pclose
0000000100025c20 t _io_popen
00000001000253c0 t _io_read
00000001000256c0 t _io_readline
0000000100024f20 t _io_tmpfile
0000000100025440 t _io_tostring
0000000100024e70 t _io_type
0000000100025640 t _io_write
0000000100035a80 s _iolib
0000000100022d50 t _ipairsaux
U _isatty
0000000100007a00 t _jumponcond
0000000100020350 t _l_alloc
0000000100001340 t _laction
U _ldexp
0000000100036120 s _ll_funcs
000000010002b750 t _ll_loadfunc
000000010002b960 t _ll_loadlib
000000010002b2b0 t _ll_module
000000010002b030 t _ll_require
000000010002b8e0 t _ll_seeall
0000000100013cf0 t _llex
000000010002bc80 t _loader_C
000000010002be20 t _loader_Croot
000000010002bd80 t _loader_Lua
000000010002b530 t _loader_preload
00000001000360e0 s _loaders
U _localeconv
U _localtime
U _log
U _log10
000000010002df00 s _log_2.4948
0000000100001370 t _lstop
0000000100002020 T _luaA_pushobject
0000000100022fe0 t _luaB_assert
0000000100023960 t _luaB_auxwrap
0000000100022320 t _luaB_cocreate
00000001000232f0 t _luaB_collectgarbage
0000000100023a00 t _luaB_coresume
00000001000222f0 t _luaB_corunning
00000001000221f0 t _luaB_costatus
00000001000223a0 t _luaB_cowrap
0000000100023180 t _luaB_dofile
0000000100022500 t _luaB_error
00000001000232c0 t _luaB_gcinfo
0000000100023260 t _luaB_getfenv
0000000100023200 t _luaB_getmetatable
0000000100022d00 t _luaB_ipairs
00000001000236b0 t _luaB_load
0000000100023730 t _luaB_loadfile
0000000100023050 t _luaB_loadstring
00000001000233c0 t _luaB_newproxy
00000001000234d0 t _luaB_next
00000001000224b0 t _luaB_pairs
00000001000223e0 t _luaB_pcall
0000000100022ec0 t _luaB_print
0000000100022e70 t _luaB_rawequal
0000000100022e20 t _luaB_rawget
0000000100022dc0 t _luaB_rawset
0000000100022c50 t _luaB_select
0000000100022b70 t _luaB_setfenv
0000000100022980 t _luaB_setmetatable
0000000100022830 t _luaB_tonumber
0000000100022700 t _luaB_tostring
00000001000226b0 t _luaB_type
0000000100022570 t _luaB_unpack
0000000100022440 t _luaB_xpcall
00000001000221c0 t _luaB_yield
000000010000ee80 T _luaC_barrierback
0000000100010270 T _luaC_barrierf
000000010000f050 T _luaC_callGCTM
000000010000fa30 T _luaC_freeall
0000000100012650 T _luaC_fullgc
000000010000eea0 T _luaC_link
00000001000101e0 T _luaC_linkupval
000000010000eed0 T _luaC_separateudata
0000000100012710 T _luaC_step
000000010000dc10 T _luaD_call
000000010000c970 T _luaD_callhook
000000010000c670 T _luaD_growstack
000000010000c430 T _luaD_pcall
000000010000ce00 T _luaD_poscall
000000010000d110 T _luaD_precall
000000010000c600 T _luaD_protectedparser
000000010000c3a0 T _luaD_rawrunprotected
000000010000c200 T _luaD_reallocCI
000000010000c2a0 T _luaD_reallocstack
000000010000c160 T _luaD_seterrorobj
000000010000cc40 T _luaD_throw
0000000100019df0 T _luaE_freethread
000000010001a350 T _luaE_newthread
000000010000edb0 T _luaF_close
000000010000eab0 T _luaF_findupval
000000010000e990 T _luaF_freeclosure
000000010000e9d0 T _luaF_freeproto
000000010000ea80 T _luaF_freeupval
000000010000e940 T _luaF_getlocalname
000000010000ed40 T _luaF_newCclosure
000000010000eca0 T _luaF_newLclosure
000000010000eb80 T _luaF_newproto
000000010000ec40 T _luaF_newupval
000000010000c020 T _luaG_aritherror
000000010000b160 T _luaG_checkcode
000000010000a9a0 T _luaG_checkopenop
000000010000bf50 T _luaG_concaterror
000000010000b180 T _luaG_errormsg
000000010000be30 T _luaG_ordererror
000000010000bbe0 T _luaG_runerror
000000010000be90 T _luaG_typeerror
000000010001a950 T _luaH_free
000000010001b260 T _luaH_get
000000010001ac50 T _luaH_getn
000000010001aac0 T _luaH_getnum
000000010001a8f0 T _luaH_getstr
000000010001ab80 T _luaH_new
000000010001af60 T _luaH_next
000000010001c240 T _luaH_resizearray
000000010001b500 T _luaH_set
000000010001c150 T _luaH_setnum
000000010001c0e0 T _luaH_setstr
0000000100005e50 T _luaK_checkstack
0000000100006370 T _luaK_codeABC
0000000100006260 T _luaK_codeABx
0000000100006070 T _luaK_concat
0000000100006fa0 T _luaK_dischargevars
0000000100008b50 T _luaK_exp2RK
0000000100008a10 T _luaK_exp2anyreg
0000000100008960 T _luaK_exp2nextreg
0000000100008b20 T _luaK_exp2val
0000000100005e30 T _luaK_fixline
0000000100005da0 T _luaK_getlabel
0000000100007f90 T _luaK_goiftrue
0000000100009bc0 T _luaK_indexed
0000000100008f00 T _luaK_infix
0000000100006880 T _luaK_jump
0000000100006a20 T _luaK_nil
0000000100006540 T _luaK_numberK
00000001000067c0 T _luaK_patchlist
0000000100006490 T _luaK_patchtohere
000000010000a4d0 T _luaK_posfix
0000000100009750 T _luaK_prefix
0000000100006110 T _luaK_reserveregs
0000000100006bb0 T _luaK_ret
0000000100009bf0 T _luaK_self
0000000100006cb0 T _luaK_setlist
0000000100005db0 T _luaK_setoneret
0000000100006180 T _luaK_setreturns
0000000100009de0 T _luaK_storevar
0000000100006680 T _luaK_stringK
00000001000210e0 T _luaL_addlstring
0000000100021b30 T _luaL_addstring
0000000100020a90 T _luaL_addvalue
0000000100020f10 T _luaL_argerror
00000001000202a0 T _luaL_buffinit
00000001000207e0 T _luaL_callmeta
0000000100021030 T _luaL_checkany
0000000100021c70 T _luaL_checkinteger
0000000100021dd0 T _luaL_checklstring
0000000100021d20 T _luaL_checknumber
0000000100021f40 T _luaL_checkoption
0000000100020ec0 T _luaL_checkstack
0000000100021300 T _luaL_checktype
0000000100021220 T _luaL_checkudata
0000000100020bc0 T _luaL_error
00000001000205b0 T _luaL_findtable
0000000100020750 T _luaL_getmetafield
0000000100021670 T _luaL_gsub
0000000100020370 T _luaL_loadbuffer
0000000100021390 T _luaL_loadfile
0000000100020960 T _luaL_loadstring
00000001000206e0 T _luaL_newmetatable
00000001000202e0 T _luaL_newstate
0000000100020d30 T _luaL_openlib
000000010002bf90 T _luaL_openlibs
0000000100022100 T _luaL_optinteger
0000000100021e70 T _luaL_optlstring
0000000100022040 T _luaL_optnumber
00000001000209b0 T _luaL_prepbuffer
0000000100020900 T _luaL_pushresult
00000001000204b0 T _luaL_ref
0000000100020eb0 T _luaL_register
0000000100021080 T _luaL_typerror
0000000100020420 T _luaL_unref
0000000100020860 T _luaL_where
0000000100015500 T _luaM_growaux_
0000000100015460 T _luaM_realloc_
00000001000154e0 T _luaM_toobig
0000000100015860 T _luaO_chunkid
00000001000156a0 T _luaO_fb2int
0000000100015660 T _luaO_int2fb
00000001000156c0 T _luaO_log2
000000010002dee0 S _luaO_nilobject_
0000000100015e30 T _luaO_pushfstring
0000000100015990 T _luaO_pushvfstring
0000000100015700 T _luaO_rawequalObj
0000000100015770 T _luaO_str2d
000000010002e000 S _luaP_opmodes
0000000100035480 S _luaP_opnames
000000010001a660 T _luaS_newlstr
000000010001a4e0 T _luaS_newudata
000000010001a570 T _luaS_resize
0000000100035620 s _luaT_eventname.3604
000000010001c2d0 T _luaT_gettm
000000010001c270 T _luaT_gettmbyobj
000000010001c320 T _luaT_init
00000001000355c0 S _luaT_typenames
000000010000e8a0 T _luaU_dump
000000010001c3a0 T _luaU_header
000000010001d260 T _luaU_undump
000000010001dd50 T _luaV_concat
000000010001d910 T _luaV_equalval
000000010001e510 T _luaV_execute
000000010001db60 T _luaV_gettable
000000010001d710 T _luaV_lessthan
000000010001d3b0 T _luaV_settable
000000010001d6b0 T _luaV_tonumber
000000010001d5c0 T _luaV_tostring
0000000100012930 T _luaX_init
0000000100012a60 T _luaX_lexerror
00000001000153e0 T _luaX_lookahead
00000001000128b0 T _luaX_newstring
0000000100015400 T _luaX_next
0000000100012800 T _luaX_setinput
0000000100012c80 T _luaX_syntaxerror
00000001000129b0 T _luaX_token2str
0000000100035380 S _luaX_tokens
00000001000198a0 T _luaY_parser
0000000100020060 T _luaZ_fill
00000001000200d0 T _luaZ_init
0000000100020180 T _luaZ_lookahead
0000000100020100 T _luaZ_openspace
00000001000201e0 T _luaZ_read
00000001000020b0 T _lua_atpanic
0000000100002660 T _lua_call
00000001000028a0 T _lua_checkstack
000000010001a050 T _lua_close
00000001000022a0 T _lua_concat
0000000100002590 T _lua_cpcall
00000001000026c0 T _lua_createtable
00000001000024f0 T _lua_dump
00000001000030a0 T _lua_equal
00000001000023c0 T _lua_error
00000001000023d0 T _lua_gc
0000000100002260 T _lua_getallocf
00000001000036f0 T _lua_getfenv
0000000100003b90 T _lua_getfield
000000010000a8f0 T _lua_gethook
000000010000a910 T _lua_gethookcount
000000010000a900 T _lua_gethookmask
000000010000b570 T _lua_getinfo
000000010000b460 T _lua_getlocal
0000000100003840 T _lua_getmetatable
000000010000a920 T _lua_getstack
0000000100003cd0 T _lua_gettable
00000001000020d0 T _lua_gettop
0000000100002d00 T _lua_getupvalue
000000010002c4d0 S _lua_ident
0000000100005a10 T _lua_insert
0000000100005540 T _lua_iscfunction
00000001000035e0 T _lua_isnumber
0000000100005c70 T _lua_isstring
0000000100003500 T _lua_isuserdata
0000000100002e70 T _lua_lessthan
0000000100002530 T _lua_load
000000010001a0e0 T _lua_newstate
0000000100002850 T _lua_newthread
0000000100002a20 T _lua_newuserdata
0000000100004a60 T _lua_next
0000000100004310 T _lua_objlen
0000000100004b80 T _lua_pcall
00000001000021e0 T _lua_pushboolean
0000000100002940 T _lua_pushcclosure
0000000100002780 T _lua_pushfstring
00000001000021c0 T _lua_pushinteger
0000000100002200 T _lua_pushlightuserdata
0000000100002350 T _lua_pushlstring
0000000100002180 T _lua_pushnil
00000001000021a0 T _lua_pushnumber
0000000100002aa0 T _lua_pushstring
0000000100002220 T _lua_pushthread
0000000100005750 T _lua_pushvalue
0000000100002730 T _lua_pushvfstring
00000001000032d0 T _lua_rawequal
0000000100003a80 T _lua_rawget
0000000100003970 T _lua_rawgeti
0000000100005190 T _lua_rawset
0000000100005020 T _lua_rawseti
0000000100005b50 T _lua_remove
0000000100005830 T _lua_replace
000000010000caa0 T _lua_resume
0000000100002280 T _lua_setallocf
0000000100004ce0 T _lua_setfenv
0000000100005300 T _lua_setfield
000000010000a8b0 T _lua_sethook
00000001000020a0 T _lua_setlevel
000000010000bac0 T _lua_setlocal
0000000100004e80 T _lua_setmetatable
0000000100005440 T _lua_settable
00000001000020f0 T _lua_settop
0000000100002b50 T _lua_setupvalue
0000000100002250 T _lua_status
0000000100004730 T _lua_toboolean
0000000100004210 T _lua_tocfunction
0000000100004840 T _lua_tointeger
00000001000044a0 T _lua_tolstring
0000000100004950 T _lua_tonumber
0000000100003db0 T _lua_topointer
0000000100004000 T _lua_tothread
0000000100004100 T _lua_touserdata
0000000100005640 T _lua_type
0000000100002160 T _lua_typename
0000000100002040 T _lua_xmove
000000010000c100 T _lua_yield
0000000100036160 s _lualibs
0000000100023530 T _luaopen_base
0000000100023aa0 T _luaopen_debug
0000000100025eb0 T _luaopen_io
0000000100026380 T _luaopen_math
0000000100026c10 T _luaopen_os
000000010002ba80 T _luaopen_package
00000001000290c0 T _luaopen_string
0000000100027690 T _luaopen_table
0000000100001650 T _main
00000001000103b0 t _markroot
00000001000296a0 t _match
00000001000293b0 t _match_class
00000001000264a0 t _math_abs
0000000100026be0 t _math_acos
0000000100026bb0 t _math_asin
0000000100026b30 t _math_atan
0000000100026b60 t _math_atan2
0000000100026b00 t _math_ceil
0000000100026aa0 t _math_cos
0000000100026ad0 t _math_cosh
0000000100026460 t _math_deg
0000000100026a70 t _math_exp
00000001000266f0 t _math_floor
0000000100026a20 t _math_fmod
00000001000269e0 t _math_frexp
0000000100026990 t _math_ldexp
0000000100026930 t _math_log
0000000100026960 t _math_log10
00000001000265f0 t _math_max
0000000100026670 t _math_min
00000001000268e0 t _math_modf
0000000100026890 t _math_pow
0000000100026420 t _math_rad
0000000100026720 t _math_random
00000001000265d0 t _math_randomseed
0000000100026570 t _math_sin
00000001000265a0 t _math_sinh
0000000100026540 t _math_sqrt
00000001000264e0 t _math_tan
0000000100026510 t _math_tanh
0000000100035c20 s _mathlib
0000000100027a40 t _maxn
U _memchr
U _memcmp
U _memcpy
U _mkstemp
U _mktime
000000010002e0e8 s _mode.4200
000000010002e0dc s _mode.4217
0000000100035c00 s _modenames.4201
0000000100035be0 s _modenames.4218
U _modf
00000001000166a0 t _new_localvar
000000010001bb40 t _newkey
0000000100015ed0 t _open_func
0000000100035900 s _opts.4163
000000010002e0b0 s _optsnum.4164
0000000100026f60 t _os_clock
0000000100026fc0 t _os_date
0000000100026f10 t _os_difftime
0000000100026ed0 t _os_execute
0000000100026eb0 t _os_exit
0000000100026e70 t _os_getenv
0000000100026d40 t _os_pushresult
0000000100026e20 t _os_remove
0000000100026dd0 t _os_rename
0000000100026ce0 t _os_setlocale
0000000100027320 t _os_time
0000000100026c30 t _os_tmpname
0000000100020320 t _panic
0000000100005eb0 t _patchlistaux
U _pclose
00000001000360a0 s _pk_funcs
00000001000019e0 t _pmain
U _popen
U _pow
0000000100016820 t _primaryexp
000000010002e030 s _priority
0000000100036210 d _progname
00000001000108c0 t _propagatemark
00000001000284d0 t _push_onecapture
0000000100001480 t _pushline
0000000100024c80 t _pushresult
0000000100035000 s _pvars
U _rand
0000000100025080 t _read_chars
0000000100024f90 t _read_line
0000000100013260 t _read_long_string
0000000100012c90 t _read_numeral
U _readline
U _realloc
000000010000fc20 t _reallymarkobject
0000000100017240 t _recfield
U _remove
U _rename
0000000100001580 t _report
000000010001b840 t _resize
000000010000dce0 t _resume
000000010002e158 s _sentinel_
U _setlocale
00000001000276b0 t _setn
000000010001a9c0 t _setnodevector
000000010002b9e0 t _setpath
U _setvbuf
U _signal
U _sin
0000000100011b00 t _singlestep
00000001000163d0 t _singlevaraux
U _sinh
0000000100028130 t _sort
0000000100027700 t _sort_comp
U _srand
0000000100017e90 t _statement
0000000100035740 s _statnames
0000000100029290 t _str_byte
0000000100028700 t _str_char
0000000100029010 t _str_dump
000000010002b020 t _str_find
000000010002ac40 t _str_find_aux
0000000100028840 t _str_format
000000010002a520 t _str_gsub
0000000100028470 t _str_len
00000001000285b0 t _str_lower
000000010002b010 t _str_match
00000001000283b0 t _str_rep
00000001000281c0 t _str_reverse
0000000100029190 t _str_sub
00000001000282b0 t _str_upper
U _strcat
U _strchr
U _strcmp
U _strcoll
U _strcspn
U _strerror
U _strftime
U _strlen
0000000100035fa0 s _strlib
U _strncat
U _strncpy
U _strpbrk
U _strrchr
U _strstr
U _strtod
U _strtoul
0000000100016b60 t _subexpr
000000010000f170 t _sweeplist
000000010000a9f0 t _symbexec
0000000100035e00 s _syslib
U _system
0000000100035f00 s _tab_funcs
U _tan
U _tanh
0000000100027c70 t _tconcat
U _time
00000001000278b0 t _tinsert
U _tmpfile
00000001000013a0 t _traceback
00000001000277c0 t _tremove
U _ungetc
0000000100019140 t _whilestat
00000001000283a0 t _writer
U dyld_stub_binder
0000000100001250 T start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment