Skip to content

KeyError #18

Description

@stuartly

Hi, I try to use chucky to analysis some projects, and I always encountered the following error:

[1/102]:JobSet(1/1)Job (1/102): __getcwd (235611) - malloc[Callee]
Traceback (most recent call last):
  File "chucky-ng/chucky/chucky.py", line 248, in <module>
    Chucky().execute()
  File "chucky-ng/chucky/chucky.py", line 209, in execute
    flag=self.analyzeJobSet(jobset,description,jobcount)
  File "chucky-ng/chucky/chucky.py", line 236, in analyzeJobSet
    self.engine.analyze(job)
  File "/home/cloud/Documents/lbx19/chucky-ng/chucky/chucky_engine.py", line 45, in analyze
    nearestNeighbors,s0,s1,s2,s3, = self._getKNearestNeighbors()
  File "/home/cloud/Documents/lbx19/chucky-ng/chucky/chucky_engine.py", line 90, in _getKNearestNeighbors
    return self.knn.getNearestNeighbors(self.job.function, symbolUsers)
  File "/home/cloud/Documents/lbx19/chucky-ng/chucky/nearestNeighbor/NearestNeighborSelector.py", line 54, in getNearestNeighbors
    ids,m0,m1,m2,m3 = knn.getSimilarContextNeighborsFor(str(nodeId))
  File "/home/cloud/Documents/lbx19/chucky-ng/chucky/CallerKNN.py", line 98, in getSimilarContextNeighborsFor
    validNeighbors = [self.emb.rTOC[str(x)] for x in validNeighborIds]
KeyError: '235611'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions