{"id":15576555,"url":"https://github.com/abn/symboldb","last_synced_at":"2026-04-25T13:35:17.465Z","repository":{"id":7744656,"uuid":"9111771","full_name":"abn/symboldb","owner":"abn","description":"ELF and Java symbol database","archived":false,"fork":false,"pushed_at":"2013-03-28T13:33:31.000Z","size":5458,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T10:32:24.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abn.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-30T05:12:11.000Z","updated_at":"2016-06-10T08:01:08.000Z","dependencies_parsed_at":"2022-07-08T06:10:56.049Z","dependency_job_id":null,"html_url":"https://github.com/abn/symboldb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fsymboldb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fsymboldb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fsymboldb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fsymboldb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abn","download_url":"https://codeload.github.com/abn/symboldb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243266573,"owners_count":20263759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T18:51:49.305Z","updated_at":"2025-12-27T17:13:01.690Z","avatar_url":"https://github.com/abn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Prerequisites\n─────────────\n\nIn addition to the usual C++ build environment, you need the following\ndevelopment packages:\n\n- cmake\n- curl-devel\n- elfutils-devel\n- elfutils-libelf-devel\n- expat-devel\n- gawk (for /usr/bin/awk)\n- libarchive-devel\n- nss-devel\n- postgresql-devel\n- postgresql-server\n- rpm-devel\n- vim-common (for /usr/bin/xxd)\n- xmlto\n- zlib-devel\n\nBuilding\n────────\n\nCreate a build directory, run cmake and make:\n\n  mkdir build\n  cd build\n  cmake ..\n  make\n  cd ..\n  build/runtests\n\nAlternatively, you can use the Ninja build tool:\n\n  mkdir build\n  cd build\n  cmake -G Ninja -DCMAKE_MAKE_PROGRAM=ninja-build ..\n  ninja-build\n  cd ..\n  build/runtests\n\nRunning\n───────\n\n╔════════════════════════════════════════════════════════════════════╗\n║ NOTE: The database schema is still evolving.  I do not provide     ║\n║ automated schema migration support at this stage because I do not  ║\n║ assume that there are any users of this code.  Please drop me a    ║\n║ note (at \u003cfweimer@redhat.com\u003e) if you use this software, and I     ║\n║ will be more careful about database schema changes.                ║\n╚════════════════════════════════════════════════════════════════════╝\n\nsymboldb honors the PGUSER, PGDATABASE etc. variables generally used\nby PostgreSQL applications.  If you want to change the defaults, you\nhave to set those environment variables.  The database schema is\ncurrently hard-coded to \"symboldb\".\n\nTo create a database for your user account (named \"USER\"), run the\nfollowing commands as the \"postgres\" user:\n\n  createuser USER\n  createdb --lc-collate=C USER\n\n(The symboldb SQL schema contains COLLATE \"C\" annotations in many\nplaces, so re-using an existing database with another collation scheme\nis possible without a performance loss.)\n\nIf you plan to load large repositories (such as Fedora releases), you\nneed to tune your PostgreSQL installation.  At least the very least,\nincrease the \"shared_buffers\" and \"checkpoint_segments\" values.\n\nAfterwards, as \"USER\", run \"psql\" to check if you can access the\ndatabase.  The following commands have to be invoked as \"USER\", too.\n\nThis command creates the \"symboldb\" database schema:\n\n    symboldb --create-schema\n\nThis adds RPM files to the database, skipping already imported RPMs\n(based on the content hash):\n\n    symboldb --load-rpm *.rpm\n\nMultiple load commands can be executed in parallel, but imports will\noccasionally fail (due to an aborted database transaction) if the same\nRPM file is loaded concurrently.\n\nRPMs can be assigned to a package set (roughly equivalent to a\ncompose) using:\n\n    symboldb --create-set=Fedora/18/x86_64 *.rpm\n\nTo load RPMs from a combination of composes, use this command\n\n    symboldb --create-set=Fedora/18/x86_64\n    symboldb --update-set-from-repo=Fedora/18/x86_64 \\\n      http://download.fedoraproject.org/pub/fedora/linux/updates/18/x86_64/ \\\n      http://download.fedoraproject.org/pub/fedora/linux/releases/18/Everything/x86_64/os/\n\nThis only downloads the latest version for each package\nname/architecture combination.  RPMs are cached in a directory under\n~/.cache/symboldb by default.\n\nA single package set can cover multiple architectures.  The name of\nthe package set, Fedora/18/x86_64 in the example, just follows a\nnaming convention and is not interpreted by the tool.\n\nA symboldb.1 manual page will be written to the build directory.\nExamples for SQL queries are found in the doc/examples directory.\n\n\n  -- Florian Weimer \u003cfweimer@redhat.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fsymboldb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabn%2Fsymboldb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fsymboldb/lists"}