lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 30 Jan 2004, Jay Carlson wrote:

> On Wed, 28 Jan 2004, Reuben Thomas wrote:

> > This is the main objection to what I propose above. What can't you do
> > conveniently with exec and glob?

Oh right, I forgot:

  f = os.popen("mipsel-linux-objdump --syms --section="..section..
	" --start-address="..hex(start).." "..objfilename)
  for l in f:lines() do
    _, _, etc = string.find(l, "^(%x%x%x%x%x%x%x%x) [^l] ...")
    ...
  end

Before you ask, I *did* start on a libelf binding before giving up in
dismay... :-)

Jay