IRC log for #maemo-ssu on 20151026

05:42.08*** join/#maemo-ssu jonwil (~jonwil@27-33-80-219.tpgi.com.au)
06:10.53jonwilbah this code is doing something very weird :(
06:11.10freemangordonhmm?
06:12.33jonwillet me get you my libcodelockui idb so you can look at it
06:12.38jonwilhttps://drive.google.com/file/d/0B9idqO9KygGsUzdINHRQUW1wb2M/view?usp=sharing
06:13.11jonwilok, so in libcodelockui you will see a function currently named xsub_5798
06:14.58freemangordonok
06:15.00freemangordonand?
06:15.38jonwilnow what is happening is that xsub_5798 is being called via emit_changed in gtkentry.c (from libgtk) via this line g_signal_emit_by_name (editable, "changed");
06:15.52freemangordonok
06:15.57jonwilSo somehow that xsub_5798 function is being called as a signal handler via that g_signal_emit_by_name
06:16.16jonwilwhere its weird is that I cant find ANY g_signal_connect functions that are registering that function
06:16.33jonwilso how is it that the GtkEntry gets pointed at xsub_5798 so it can emit the signal?
06:17.01freemangordonI see
06:17.07jonwilsee why its wierd?
06:17.07freemangordonn xrefs
06:17.11freemangordon*no
06:17.13jonwilno xrefs
06:17.30freemangordonthen disasm is incomplete :)
06:20.10jonwilin order for it to be referenced, there would have to be an entry for it in the .got table
06:20.16jonwilwhich there is not
06:20.32freemangordonwhich dialog is that?
06:20.43jonwilthats the code lock dialog
06:20.55freemangordonjonwil: oh, and does this function gets called at all?
06:20.56jonwilfor device and sim pin locks
06:21.03freemangordon*get
06:21.21jonwilyes I have breakpointed on xsub_5789 in gdb and followed the backtrace up to the emit_changed function
06:21.46freemangordonweird
06:22.01jonwilit triggers when you press one of the buttons on the dialog
06:22.10jonwilone of the number buttons at least
06:22.22jonwilso its logical that it would be a "changed" handler for the entry box
06:22.56freemangordon:nod:
06:26.33freemangordonjonwil: hmm, something is broken with your IDA
06:26.46jonwilwhy do you say that?
06:26.53freemangordonsee xclui_code_dialog_build
06:27.07jonwilwhat about it?
06:27.22freemangordong_signal_connect_data(v89, "insert-text", (GCallback)xsub_5798, data, 0, 0);
06:28.18freemangordonnearly at the end
06:28.49jonwilyeah I see now
06:29.21freemangordonjonwil: what is your IDA and HR version?
06:29.23jonwilseems like ida failed to correctly interpret all the global_offset_table stuff yet hexrays picked it up
06:29.49jonwil6.6.141224 and 2.0.0.140605
06:30.06freemangordonthe same here
06:30.19jonwilIDA not picking up global_offset_table stuff isn't unheard of
06:30.43freemangordonthe only difference is that I run it via WINE, not natively :)
06:31.27jonwilanyhow, at least I know the weirdness is IDA at fault and nothing going on in the binary
06:31.35freemangordonyeah
06:33.40jonwilaha, I think what was throwing me off is misleading backtraces due to my phone not having debug symbols for glib/gobject/gtk/etc
06:34.08jonwilanyhow, now that I know whats going on, I can investigate the examples of this "ida didn't pick up the got correctly" wierdness and move on
06:34.29jonwilfinish my reverse engineering of libcodelockui so I can then clone it
06:34.56freemangordon:)
06:35.16freemangordonhowever, /me needs to run, see you later
06:35.22jonwilok, cya
06:35.49jonwilsounds like it might be worth putting debug symbols for gtk and gobject and stuff on my phone where GDB will find it
06:44.23freemangordonjonwil: just install -dbg packages, gdb/gdbserver will pick them up
06:44.37freemangordonso IDA will pick them up as well if connected to gdbserver
07:02.07*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
07:23.14Sicelo009Nby the way, channel stats have shrunk by large margin
07:27.32keriono kidding
07:28.01kerioi reckon we're way below the critical mass required for a project to work
07:28.06kerio:c
07:42.42*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.40)
07:59.08jonwilok, great. Where do I get the -dbg package from? The nokia repos? Or do I need the SDK repos for those?
08:12.34freemangordon_yes, SDK repos
08:29.02*** join/#maemo-ssu Sicelo_w (~sicelo@unaffiliated/sicelo)
08:29.28Sicelo_wnot new news, i suppose .. but where do we stand with Microb? http://www.zdnet.com/article/as-sha1-winds-down-sha2-leap-will-leave-millions-stranded/?linkId=18208342
08:40.33*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.40)
09:04.31*** join/#maemo-ssu sparetire_ (~sparetire@unaffiliated/sparetire)
09:06.16*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.40)
09:11.58*** join/#maemo-ssu LauRoman (~LauRoman@5-14-1-85.residential.rdsnet.ro)
09:42.38jonwilAll of the parts of maemo that are involved with SSL in microb should (as far as I know) be FOSS
09:43.00jonwilso it should be possible to add whatever protocols we need and distribute them with cssu
09:51.37*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.40)
09:55.35Sicelo009Nsounds cool :)
11:02.42*** join/#maemo-ssu unclouded (~neil@2001:4428:200:80fc:7e05:7ff:fe0d:d421)
11:05.38*** join/#maemo-ssu freemangordon_ (~ivo@212.5.158.40)
13:14.47keriojonwil: the issue is ABI compatibility
13:22.11jonwilok, so regarding (for example) openssl, what you do is you keep the current openssl0.9.8 (patched with whatever the latest 0.9.8 point release is) right where it is at libcrypto.so.0.9.8 and libssl.so.0.9.8 then you put the new openssl at libcrypto.so.1.x.x and libssl.so.1.x.x or whatever and have the new binaries link to it.
13:22.56jonwilUnless there is something I dont know about, I dont see why having multiple versions of openssl side by side would be an issue
13:23.38*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
13:26.22keriomight as well go with libressl then :D
13:26.30jonwilyeah same difference
13:51.55*** join/#maemo-ssu LauRoman|Alt (~LauRoman@5-14-1-85.residential.rdsnet.ro)
13:55.38*** join/#maemo-ssu esoare (~kvirc@71-222-117-68.ptld.qwest.net)
14:26.02*** join/#maemo-ssu infobot (ibot@69-58-76-73.ut.vivintwireless.net)
14:26.02*** topic/#maemo-ssu is Maemo Community Seamless Software Update "CSSU" channel, http://wiki.maemo.org/Community_SSU | Known bugs: http://j.mp/communityssu-bugs | Channel logs: http://mg.pov.lt/maemo-ssu-irclog/ | Sources: https://github.com/community-ssu | Latest version: Testing(2015-04-11): 21.2011.38-1Tmaemo11; Stable(2014-09-03): 21.2011.38-1Smaemo7
14:26.02*** mode/#maemo-ssu [+v infobot] by ChanServ
15:22.00*** join/#maemo-ssu Sicelo009N (~sicelo@unaffiliated/sicelo)
16:18.41*** join/#maemo-ssu esoare (~kvirc@71-222-117-68.ptld.qwest.net)
16:41.48*** join/#maemo-ssu NishanthMenon (nmenon@nat/ti/x-satfojvooredufxk)
17:01.07*** join/#maemo-ssu esoare|2 (~kvirc@71-222-117-68.ptld.qwest.net)
17:43.57*** join/#maemo-ssu DrCode (~DrCode@5.28.134.3)
17:56.20*** join/#maemo-ssu esoare|2 (~kvirc@71-222-117-68.ptld.qwest.net)
18:00.57*** join/#maemo-ssu esoare|3 (~kvirc@71-222-117-68.ptld.qwest.net)
18:03.50*** join/#maemo-ssu futpib (~futpib@176.104.194.78)
18:33.56*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
19:33.54*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-37-188-134-178.eurotel.cz)
19:55.30*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
20:07.46*** join/#maemo-ssu kerio (kerio@bad.memes.vs.dank.ninja)
20:45.10*** join/#maemo-ssu RedW (~redw@89-76-164-87.dynamic.chello.pl)
21:03.45*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
21:35.18*** join/#maemo-ssu jonwil (~jonwil@27-33-80-219.tpgi.com.au)
21:51.28*** join/#maemo-ssu M4rtinK (~M4rtinK@ip-89-177-124-111.net.upcbroadband.cz)
22:29.50*** join/#maemo-ssu kerio (kerio@bad.memes.vs.dank.ninja)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.