Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buildxyz-git/nrfsec
/ functions
Functions
31 in github.com/buildxyz-git/nrfsec
⨍
Functions
31
◇
Types & classes
4
↓ 30 callers
Method
Read32
Use read gadget to dump a word (4 bytes) from address
nrfsec/gadget.py:14
↓ 10 callers
Method
DumpToFile
Dump memory to specified outfile
nrfsec/dbg.py:255
↓ 10 callers
Method
VerifyImage
(self, path, start_address, size, read_gadget=None)
nrfsec/dbg.py:301
↓ 5 callers
Method
Dumpinfo
Store chip information with results from FICR/UICR and peripherals
nrfsec/dbg.py:221
↓ 5 callers
Method
SetAllRegs
Set all general purpose registers to set_value
nrfsec/dbg.py:67
↓ 5 callers
Method
isLocked
Check if target is locked, True is returned if unable to read from the Reset vector address
nrfsec/dbg.py:51
↓ 4 callers
Method
RestoreImage
Restore image given by path starting at write_address
nrfsec/dbg.py:317
↓ 3 callers
Method
Delay
(self, delay)
nrfsec/dbg.py:332
↓ 3 callers
Method
Write32
Use write gadget to store a word (4 bytes) @ address
nrfsec/gadget.py:25
↓ 3 callers
Function
main
()
nrfsec/nrfsec.py:16
↓ 2 callers
Method
CheckGPRegsForValue
Check all general purpose registers for value
nrfsec/dbg.py:76
↓ 2 callers
Method
EraseAll
Set the ERASEALL register before unlocking, this does not erase the FICR
nrfsec/dbg.py:282
↓ 2 callers
Method
GetECB
Dereference the ECBDATAPTR and return the ECB struct as bytearray
nrfsec/dbg.py:211
↓ 2 callers
Method
ReadAll
Read everything to a file, store the directory specified by path
nrfsec/dbg.py:340
↓ 1 callers
Function
GetAscii
Helper function to pretty print any ASCII chars in byte array
nrfsec/utils.py:25
↓ 1 callers
Method
GetReadDstReg
Check for destination register, given an gadget address
nrfsec/dbg.py:86
↓ 1 callers
Method
GetReadSrcReg
Given and address and a list of registers to check, look for source register
nrfsec/dbg.py:95
↓ 1 callers
Method
GetWriteDstReg
Given an address, and a read gadget, check for write destination register
nrfsec/dbg.py:129
↓ 1 callers
Method
GetWriteSrcReg
Given an address, and a read gadget, check for write source register
nrfsec/dbg.py:109
↓ 1 callers
Method
LockTarget
Write to UICR-RBPCONF to protect all memory regions
nrfsec/dbg.py:270
↓ 1 callers
Method
SearchReadGadget
Search memory for a read gadget and return it, otherwise False
nrfsec/dbg.py:143
↓ 1 callers
Method
VolatileUnlock
Disable the MPU by storing all the ROM, perform an entire chip erase, and restore the images with the MPU disabled
nrfsec/dbg.py:404
Method
SearchWriteGadget
Search for a write gadget and return it else False
nrfsec/dbg.py:186
Method
Unlock
Magcal function that does not work because you can't write to the UICR without a full erase
nrfsec/dbg.py:59
Function
UnlockUICRImage
Helper function to unlock the UICR image to reflash later
nrfsec/utils.py:7
Function
YesOrNo
(question)
nrfsec/utils.py:15
Method
__init__
(self, freq)
nrfsec/dbg.py:33
Method
__init__
(self, address=None, src_reg=None, dst_reg=None)
nrfsec/gadget.py:6
Function
printChipInfo
(chip_info)
nrfsec/utils.py:36
Function
printECB
(data)
nrfsec/utils.py:49
Function
printHexDump
(data, start_address)
nrfsec/utils.py:42