Modifying framework files

hi,

this is an old thread, but I cannot figure out where to find the source files. With -v I can find the source for the libraries I installed, but not for the core. I would like to modify one of the Arduino Framework files, wiring.c. I can find the .c.o file, but how can I modify the source code?

thanks in advance!