Initial public source release
Split reusable rendering and format support into vectorail-core and vectorail-gc.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// GhidraScript: print little-endian 32-bit words and their float view.
|
||||
// Usage: ReadScalars.java 0x2703f8 0x2703fc
|
||||
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.program.model.address.Address;
|
||||
|
||||
public class ReadScalars extends GhidraScript {
|
||||
@Override
|
||||
public void run() throws Exception {
|
||||
for (String arg : getScriptArgs()) {
|
||||
Address address = toAddr(Long.decode(arg));
|
||||
int word = getInt(address);
|
||||
println(address + " u32=0x" + Integer.toHexString(word) +
|
||||
" f32=" + Float.intBitsToFloat(word));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user