sdb fails to sync from mem to file
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by reproducing the mem-to-file sync failure in the sdb API, focusing on the sdb_merge and sdb_sync calls shown in the workaround for the zos command. Compare the direct sync path with the workaround and consider the issue done when syncing from memory to a file works without that workaround.
Written by the indexing model from the issue text.
Description
During the implementation of the command zos in r2 (save zigns), it's been found that syncing from mem to file was buggy. Current workaround:
Sdb *db = sdb_new (NULL, file, 0);
if (!db) {
return false;
}
sdb_merge (db, a->sdb_zigns);
retval = sdb_sync (db);
sdb_close (db);
sdb_free (db);
- Dominant language
- C
- Stars
- 235
- Forks
- 69
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from radareorg/sdb
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
SDB Logo?Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
bug game: 0400486024DEC000 mac nvn shader chain
Difficulty 1/5 Under an hour Newbie friendliness 78/100
seedds/nxnative#3675 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
makecpt and grd2cpt overwrite explicit +c category labels with +k keysPossibly taken @yousizaitianqiong claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
GenericMappingTools/gmt#9377 ·
Maintainers usually reply within 1 day