angr.utils.algo¶
- angr.utils.algo.binary_insert(lst, elem, key, lo=0, hi=None)¶
Insert an element into a sorted list, and keep the list sorted.
The major difference from bisect.bisect_left is that this function supports a key method, so user doesn’t have to create the key array for each insertion.
- Parameters:
- Return type:
- Returns:
None