nihilus/idascripts-2 — pull request #1 by nihilus (2014-12-14 00:29:34+00:00)
Title: Some modifications to make the scripts work on IDA 6.1, and a few other ...

...changes.

base/database:
moved functionality for next* and prev* into a class called address
moved xref code (*up, *down) into a class called xref
added the ability to add/remove code refs and data refs
replace some usage of idc with idaapi
modified path(), idb(), and module() to use os.path to figure things out
modified go(...) to call idaapi.jumpto regardless of the address being valid or not.
displays a warning if the address is known to be bad.
implemented database.byBytes, database.byRegex for searching
added database.iterate_search for iterating through all results of byBytes and byRegex

base/segment:
added support to segment.create for specifying the origin during 16-bit segment creation
also added support for failing if a segment already exists with the specified name
segment.delete will by default only remove the segment metadata instead of both the metadata and the content

base/function:
added function.within for determining if an address is associated with a function chunk.

misc/helper:
Removed an unnecessary reference to a 'sip' module. (?)
Made the PySides module import non-mandatory
added above and below for returning a function's callers and callees in a printable form