2008-02-01 01:49:34 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
module Rex
|
|
|
|
module ElfParsey
|
|
|
|
|
|
|
|
class ElfError < ::RuntimeError
|
|
|
|
end
|
|
|
|
|
|
|
|
class ParseError < ElfError
|
|
|
|
end
|
|
|
|
|
|
|
|
class ElfHeaderError < ParseError
|
|
|
|
end
|
|
|
|
|
|
|
|
class ProgramHeaderError < ParseError
|
|
|
|
end
|
|
|
|
|
|
|
|
class BoundsError < ElfError
|
|
|
|
end
|
|
|
|
|
|
|
|
class WtfError < ElfError
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
2008-02-13 02:43:56 +00:00
|
|
|
end
|