MCPcopy Create free account
hub / github.com/clienthax/Ps3GhidraScripts / loadFnids

Method loadFnids

ghidra_scripts/FnidUtils.java:38–50  ·  view source on GitHub ↗
(GhidraScript script)

Source from the content-addressed store, hash-verified

36 }
37
38 private static void loadFnids(GhidraScript script) throws Exception {
39 fnids = new HashMap<>();
40 File file = new File(Ps3ElfUtils.getExtensionInstallDataPath("Ps3GhidraScripts"), "data/"+NIDS_PATH);
41 if (!file.exists()) {
42 file = script.askFile("Locate nids.txt", "Load");
43 }
44
45 List<String> list = FileUtils.readLines(file);
46 for (String s : list) {
47 final String[] split = s.split(" ");
48 fnids.put(split[0], split[1]);
49 }
50 }
51
52}

Callers 1

getNameForFnidMethod · 0.95

Calls 1

Tested by

no test coverage detected