mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Update rizin, translation to latest dev and fix deadlock (#3279)
This commit is contained in:
parent
8c03b14290
commit
c4dd2eda7d
2
rizin
2
rizin
@ -1 +1 @@
|
|||||||
Subproject commit 286d9bd874bfbe1e782cba901e59984d708d10af
|
Subproject commit ccbfe57b683f247f9b73835a1c46f50627ba4edd
|
@ -722,7 +722,7 @@ PRzAnalysisBytes CutterCore::getRzAnalysisBytesSingle(RVA addr)
|
|||||||
rz_io_read_at(core->io, addr, buf, sizeof(buf));
|
rz_io_read_at(core->io, addr, buf, sizeof(buf));
|
||||||
|
|
||||||
auto seek = seekTemp(addr);
|
auto seek = seekTemp(addr);
|
||||||
auto vec = fromOwned(rz_core_analysis_bytes(core, buf, sizeof(buf), 1));
|
auto vec = fromOwned(rz_core_analysis_bytes(core, addr, buf, sizeof(buf), 1));
|
||||||
|
|
||||||
auto ab = vec && rz_pvector_len(vec.get()) > 0
|
auto ab = vec && rz_pvector_len(vec.get()) > 0
|
||||||
? reinterpret_cast<RzAnalysisBytes *>(rz_pvector_pop_front(vec.get()))
|
? reinterpret_cast<RzAnalysisBytes *>(rz_pvector_pop_front(vec.get()))
|
||||||
@ -1027,8 +1027,8 @@ RVA CutterCore::nextOpAddr(RVA startAddr, int count)
|
|||||||
{
|
{
|
||||||
CORE_LOCK();
|
CORE_LOCK();
|
||||||
auto seek = seekTemp(startAddr);
|
auto seek = seekTemp(startAddr);
|
||||||
auto vec =
|
auto vec = fromOwned(rz_core_analysis_bytes(core, core->offset, core->block,
|
||||||
fromOwned(rz_core_analysis_bytes(core, core->block, (int)core->blocksize, count + 1));
|
(int)core->blocksize, count + 1));
|
||||||
|
|
||||||
RVA addr = startAddr + 1;
|
RVA addr = startAddr + 1;
|
||||||
if (!vec) {
|
if (!vec) {
|
||||||
@ -1666,7 +1666,7 @@ QVector<Chunk> CutterCore::getHeapChunks(RVA arena_addr)
|
|||||||
rz_list_free(arenas);
|
rz_list_free(arenas);
|
||||||
return chunks_vector;
|
return chunks_vector;
|
||||||
}
|
}
|
||||||
m_arena = ((RzArenaListItem *)arenas->head->elem)->addr;
|
m_arena = ((RzArenaListItem *)rz_list_get_head_data(arenas))->addr;
|
||||||
rz_list_free(arenas);
|
rz_list_free(arenas);
|
||||||
} else {
|
} else {
|
||||||
m_arena = arena_addr;
|
m_arena = arena_addr;
|
||||||
@ -2793,7 +2793,7 @@ int CutterCore::breakpointIndexAt(RVA addr)
|
|||||||
BreakpointDescription CutterCore::getBreakpointAt(RVA addr)
|
BreakpointDescription CutterCore::getBreakpointAt(RVA addr)
|
||||||
{
|
{
|
||||||
CORE_LOCK();
|
CORE_LOCK();
|
||||||
int index = breakpointIndexAt(addr);
|
int index = rz_bp_get_index_at(core->dbg->bp, addr);
|
||||||
auto bp = rz_bp_get_index(core->dbg->bp, index);
|
auto bp = rz_bp_get_index(core->dbg->bp, index);
|
||||||
if (bp) {
|
if (bp) {
|
||||||
return breakpointDescriptionFromRizin(index, bp);
|
return breakpointDescriptionFromRizin(index, bp);
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 10528baf7920bfa39c5aeb06a433e4d60814e53f
|
Subproject commit 30267d0acd528cbdbe2911e562085f7385e5ac47
|
Loading…
Reference in New Issue
Block a user