These are single object files.

Attributes

obj.execstack

Returns a boolean if the object has an executable stack

obj.pic

Returns a boolean if the object is Position Independent Code

obj.min_addr

Prints the lowest address occupied by this binary

obj.max_addr

prints the largest address occupied by this binary

obj.segments

prints all ELF segments

obj.sections

prints all ELF sections

obj.plt

An array of all defined function symbols

obj.reverse_plt

a reverse mapping array of address function name

obj.linked_base

Returns the prelinked base location if it exist

obj.mapped_base

Returns the mapped base location if it exists

Methods

obj.find_segment_containing(addr)

Returns the segment that contains the given address

obj.find_section_containing(addr)

Returns the section that contains a given address