We want to look for instructions at the start of the function, but some chunks might appear before the start of the function or objdump outputs the wrong symbol for unrelated addresses.
Match the __libc_start_main.* label by looking for the colon `:` behind it.
* Change a message with the right path
Indeed, the script is position independant, thus `./db` is not always
the path to the db.
* Add return codes
It allows automatic tests and, if everything is find, to reproduce 22ad329
* Add monitoring of others OS
Add :
* Multiple RPM based distro
* CentOS
* Arch Linux
* Some Pentest/DFIR OS
* Various small fixes
PWD + quotes
* `egrep` -> `grep -E` to reduce requirements
* `zcat` -> `gzip -cd` to reduce requirements
* `unzstd` -> `zstd -d` to reduce requirements
* Put `rpm2cpio` as a requirement
* Add requirements
Currently fetching Ubuntu package download page results in an
intermittent 500 error:
https://bugs.launchpad.net/pkg-website/+bug/1854906
However, when working with libc-database, this creates an impression
that its link database is outdated. Work around this issue by trying
to fetch the page 3 times before giving up. In most cases, only 1
retry is needed.