Added some useful IDA scripts (NPOTB).
1 /* vim: set ts=4 sw=4 tw=99 et: */
2 #ifndef _INCLUDE_SPCOMP_SYMHASH_H_
3 #define _INCLUDE_SPCOMP_SYMHASH_H_
5 SC_FUNC uint32_t NameHash(const char *str);
7 typedef struct HashEntry {
9 struct HashEntry *next;
19 SC_FUNC HashTable *NewHashTable();
20 SC_FUNC void DestroyHashTable(HashTable *ht);
21 SC_FUNC void AddToHashTable(HashTable *ht, symbol *sym);
22 SC_FUNC void RemoveFromHashTable(HashTable *ht, symbol *sym);
23 SC_FUNC symbol *FindInHashTable(HashTable *ht, const char *name, int fnumber);
24 SC_FUNC symbol *FindTaggedInHashTable(HashTable *ht, const char *name, int fnumber,
27 #endif /* _INCLUDE_SPCOMP_SYMHASH_H_ */