On Linux (specifically), according to core(5) and proc(5) man pages, you could change /proc/sys/kernel/core_pattern
Software don't have (necessarily) a release number. It is at most a convention that some software are following (but not others).
Perhaps you might use symlinks on your binaries. Alternatively, you could, very early in your main
, copy some version string into a well identified buffer - perhaps a variable char my_current_version[32]
(and examine that buffer in the code dump).