Saturday, December 28, 2019

Meaning and Uses of Decompilation

Simply speaking, decompilation is the inverse of compilation: translating an executable file into a higher level language. Suppose you lose your Delphi projects source and you only have the executable file: reverse engineering (decompilation) is useful if the original sources are not available. Hm, sources not available, does this mean that we can decompile other peoples Delphi projects? Well, yes and no... Is True Decompilation Possible? No, of course not. Fully automated decompilation is not possible - no decompiler could exactly reproduce the original source code. When a Delphi project is compiled and linked to produce a standalone executable file, most of the names used in the program are converted to addresses. This loss of names means that a decompiler would have to create unique names for all the constants, variables, functions, and procedures. Even if a certain degree of success is achieved, the generated source code lacks meaningful variable and function names.Obviously, source language syntax no longer exists in the executable. It would be very difficult for a decompiler to interpret the series of machine language instructions (ASM) that exist in an executable file and decide what the original source instruction was. Why and When to Use Decompilation Reverse engineering can be used for a several reasons, some of which are: Recovery of lost source codeMigration of applications to a new hardware platformDetermination of the existence of viruses or malicious code in the programError correction when the owner of the application is not available to make the correction.Recovery of someone elses source code (to determine an algorithm for example). Is This Legal? Reverse engineering is NOT cracking, although it is sometimes difficult to draw the fine line between those two. Computer programs are protected by copyright and trademark laws. Different countries have different exceptions to the copyright owners rights. The most common ones state that it is ok to decompile: for the purposes of interpretability where the interface specification has not been made available, for the purposes of error correction where the owner of the copyright is not available to make the correction, to determine parts of the program that are not protected by copyright. Of course you should be very careful / contact your lawyer if you are in doubt whether you are permitted to disassemble some programs exe file. Note: if you are looking for Delphi cracks, key generators or just serial numbers: you are on the wrong site. Please bear in mind that everything you find here is written/presented for exploration / educational purposes only. For the moment, Borland does not offer any product capable of decompiling an executable (.exe) file or the Delphi compiled unit (.dcu) back to the original source code (.pas). Delphi Compiled Unit (DCU) When a Delphi project is compiled or run a compiled unit (.pas) file is created. By default the compiled version of each unit is stored in a separate binary-format file with the same name as the unit file, but with the extension .DCU. For example unit1.dcu contains the code and data declared in the unit1.pas file. This means that if you have someones, for example, component compiled source all you have to do is to reverse it and get the code. Wrong. The DCU file format is undocumented (proprietary format) and may change from version to version. After the Compiler: Delphi Reverse Engineering If you would like to try to decompile a Delphi executable file, these are some of the things you should know: Delphi programs source files are usually stored in two file types: ASCII code files (.pas, .dpr), and resource files (.res, .rc, .dfm, .dcr). Dfm files contain the details (properties) of the objects contained in a form. When creating an exe, Delphi copies information in .dfm files into the finished .exe code file. Form files describe each component in your form, including the values of all persistent properties. Every time we change a forms position, a buttons caption or assign an event procedure to a component, Delphi writes those modifications in a DFM file (not the code of the event procedure - this is stored in the pas/dcu file). In order to get the dfm from the executable file we need to understand what type of resources are stored inside a Win32 executable. All programs compiled by Delphi have the following sections : CODE, DATA, BSS, .idata, tls, .rdata, .rsrc. The most important from decompiling point of view are the CODE and .rsrc sections. In the Adding functionality to a Delphi program article some interesting facts about Delphi executables format, class info and DFM resources are shown: how to reassign events to be handled by other event handlers defined in the same form. Even more: how to add your own event handler, adding the code to the executable, that will change the caption of a button. Among many types of resources that are stored in an exe file, the RT_RCDATA or the Application-defined resource (raw data) holds the information that were in the DFM file before the compilation. In order to extract the DFM data from an exe file we can call the EnumResourceNames API function... For more information on extracting DFM from an executable go see: Coding a Delphi DFM explorer article. The art of reverse engineering has traditionally been the land of technical wizards, familiar with assembly language and debuggers. Several Delphi decompilers have appeared that allow anybody, even with limited technical knowledge, to reverse engineer most Delphi executable files. If you are interested in reverse engineering Delphi programs I suggest you to take a look at the following few decompilers: IDR (Interactive Delphi Reconstructor) A decompiler of executable files (EXE) and dynamic libraries (DLL), written in Delphi and executed in Windows32 environment. Final project goal is development of the program capable to restore the most part of initial Delphi source codes from the compiled file but IDR, as well as others Delphi decompilers, cannot do it yet. Nevertheless, IDR is in a status considerably to facilitate such process. In comparison with other well known Delphi decompilers the result of IDR analysis has the greatest completeness and reliability. Revendepro Revendepro finds almost all structures (classes, types, procedures, etc) in the program, and generates the pascal representation, procedures will be written in assembler. Due to some limitation in assembler the generated output can not be recompiled. The source to this decompiler is freely available. Unfortunately this is the only one decompiler I was not able to use - it prompts with an exception when you try to decompile some Delphi executable file. EMS Source Rescuer EMS Source Rescuer is an easy-to-use wizard application which can help you to restore your lost source code. If you lose your Delphi or CBuilder project sources, but have an executable file, then this tool can rescue part of lost sources. Rescuer produces all project forms and data modules with all assigned properties and events. Produced event procedures dont have a body (it is not a decompiler), but have an address of code in executable file. In most cases Rescuer saves 50-90% of your time to project restoration. DeDe DeDe is a very fast program that can analyze executables compiled with Delphi. After decompilation DeDe gives you the following: All dfm files of the target. You will be able to open and edit them with Delphi.All published methods in well commented ASM code with references to strings, imported function calls, classes methods calls, components in the unit, Try-Except and Try-Finally blocks. By default DeDe retrieves only the published methods sources, but you may also process another procedure in a executable if you know the RVA offset using the Tools|Disassemble Proc menu.A lot of additional information.You can create a Delphi project folder with all dfm, pas, dpr files. Note: pas files contains the mentioned above well commented ASM code. They can not be recompiled!

Friday, December 20, 2019

Loss of a Family Member, and Its Effects on the Family Essay

Kenji Miyazawa once said, â€Å"we must embrace pain and burn it as fuel for our journey†. This quote applies to loss in the fact that when we face a loss we must continue our lives and use the loss to make us stronger. The loss of a family member is always hard to deal with and it affects everyone differently. Some people are open about their feelings and others bottle them up. The loss of a family member does not always refer to a death, but can also refer to an emotional or physical distance put between two people. In â€Å"The Shawl† by Louise Erdrich, there is an example of a physical loss and its effects on the family, while in â€Å"Bone Black† by Bell Hooks the loss shown is of the emotional kind. It is interesting to view these stories side by†¦show more content†¦When the father realizes that what the boy saw was not spirits but actual wolves he runs back into the woods to try to kill the wolves. When the father found the wolves tracks, he foll owed them until â€Å"he could see where the pack, desperate, had tried to slash the tendons of the horses legs†(Erdrich 382). The father saw what was left of the daughters shawl and it became apparent to him that she was sacrificed from the wagon to save the rest of the group. The father doesnt tell his son the truth of what happened in those woods until the father is on his death-bed many years later. When the boy finally knew the truth, â€Å"he knew that this broken place inside him would not be mended, except by some terrible means† (Erdrich 382). The story fast forwards and the boy is now married with three children. Until his wife died, â€Å"the only time [he] touched the â€Å"ishkode waaboo† was on an occasional weekend†(Erdrich 383). According to his son, when his wife died the father started â€Å"the heavy sort of drinking, the continuous drinking, where we were left alone in the house for days† (Erdrich 383). The father was most like ly using alcohol to mend the pain he felt from the loss of his sister and then, the loss of his wife. According to a study done by the Cambridge Psychological Medicine Journal, â€Å"childhood parental loss (or the familial discord that precedes or follows it) is probably a direct and significant environmental risk factor for theShow MoreRelatedThe Negative Effects Of Serial Killers1369 Words   |  6 Pagesmass murder (serial killers), but these murders also affect the lives of many other people and their families. There are no positive effects when this happens, there are only negative effects on every person involved. The cause always starts with the serial killer, the victim never causes it. There are multiple effects on the serial killer, victim, the victim’s family, and the community (Violent Loss). Many serial killers are created due to psychological disorders and different fears and fetishesRead MoreMilitary Death and the Families’ Reaction to Losing Their Loved Ones1103 Words   |  5 Pagessomeone close to them dies. This affects the way they react to others, extend of their physical and mental health in which is tested as well the length of healing to get over this devastating time. For this paper I will discuss the effects of Military Death and the families’ reaction to losing their loved ones. Serving your country is one of the best things an individual can achieve. It gives a sense of security to know that you are able to fight for the rights of others and maintain this great levelRead MoreEffects of Losing a Job Essay630 Words   |  3 Pagesstabilized, especially when you are having or planning for a family. When one has a job, you make money that can sustain your needs or wants and provide everything the person and whole family’s desire. But what if all of a sudden, lose the job? What would be the effects of losing one’s job to you and to the family? The effects of losing a job can affect the whole family a lot. The most immediate and devastating impacts of job loss are loss of normal income, grief and deep anxiety, inability to payRead MoreIs That You, Ruthie?1341 Words   |  6 PagesIs that you, Ruthie? Ruth Hegarty’s 1999 autobiography,† Is that you, Ruthie?†, Illuminates the trials and tribulations that were experienced by Aboriginal families under the 1897 Aboriginals Protection and the restriction of the Sale of Opium Bill. â€Å"The Act† encouraged Aboriginal Families onto reserves such as Cherbourg which in turn created a sense of entrapment in these camps as well as various Employment blunders that are still being reported on today. The Aboriginal Protection and RestrictionRead MoreSocial Isolation And The Elderly1689 Words   |  7 PagesMany of the elderly find themselves living in isolation. There are many reasons why the elderly will find themselves living alone and in isolation. Many times caregivers have difficulty intervening. Social isolation can have many effects on the health status of the elderly. When alone the mental, physical and even the nutritional status of the older person can be affected. Trying to get the person to accept that they are being isolated can be difficult. There are a few resources that can have aRead MoreThe Impact of Suicide and Drug Related Deaths on the Family Essay1559 Words   |  7 Pagesthe bereaved. In particular, I wanted to look at families whose loss was contributed to suicide or a drug related death. The CDC also states, with approximately 4600 adolescent suicides each year in the United States, it is the third leading cause of death for that age range. Drug Ove rdose was the leading cause of injury death in 2010, with it causing more deaths than motor vehicle traffic crashes (CDC Website). Families, who experience the loss of a loved one by suicide or death related to drugsRead MoreSoc 203 social problems1286 Words   |  6 Pagesï » ¿ Alcoholism: A Social Problem I. Introduction Alcoholism is a major social problem that not only has an impact on the life of an alcoholic, but family members as well as society. Alcoholism is the third most common mental illness that affects more than 17 million people in the United States according to the National Institute of Alcohol Abuse. Alcoholism does not discriminate against age, race nor gender. II. Scope Alcoholism is defined as a disorderRead MoreCaregiving Of A Family Member With Dementia1659 Words   |  7 PagesThis study investigated the positive aspects of caregiving of bereaved caregivers who provided care to a family member with dementia. This study is also due to prior research suggestion that when death is preceded by a chronic illness, disability, and high levels of caregiving strain, a sense of relief that the care recipient’s suffering has ended can counterbalance adverse bereavement effects in terms of depression (Schulz et al., 2003, as stated in Boerner et al., 2004 p. 670). To understand bothRead MoreA Residential School Legacy1002 Words   |  5 Pagesthese schools, children were taken away from their families and communities. At the schools, the children suffered from emotional, physical, sexual and spiritual abuse (Steckley amp; Cummins, 2001, p. 191). The worst abuses were often used as punishment for speaking their indigenous languages (Petten, 2007, p. 22). The imposition of residential schools on First Nations children has led to significant loss of indigenous languages, and this language loss has led to further cultural losses for traditionalRead MoreEffects Of Alzheimers On The Patients, Family Members And Caregivers1212 Words   |  5 PagesThe topic of this article is about the effects that Alzheimer’s has on the patients, family members/caregivers. I believe there is a grave importance in this topic to help understand the effects of this disease and possibly help farther research. This might bring a few questions to the front of this discussion. How the relationship is after a patient is diagnosed with Alzheimer’s? How does this effect the family members/caregivers? What symptoms do family members experience with Alzheimer’s patients

Thursday, December 12, 2019

Mccarthyism free essay sample

The slow and unwelcome process of integration can be shown through the causes, skeptical ties, and effects. Both of these subjects in American history share a common factor; it is a mass chaos shared by the common people. Firstly, McCarthy had a major impact in our history because it caused widespread panic, which was unnecessary.A very realistic cause that influenced this was the United States feeling overwhelmed from a fear of communism, arising in both China and Eastern Europe. After Joseph McCarthy made accusations he changed the view of the communists party room an unpopular political group into a perceived threat to the American way of life (Ellen Checkers). This implies a close relation to The Crucible because they were both two societies that feared to have their peace corrupted by outside influences. The negative outside influences can be emphasized through both the communist accusations and those accusing others of witchcraft. He had a powerful position to speak from in the US Senate. He had powerful friends like two Presidents that were afraid of his power because he had so much support from the people.At that mime the Ignited States was concerned that the Soviet communists were infiltrating notes little countries, but the United States itself. No one stood up to McCarthy when he first started. McCarthy intentions were good before the worst of his anticommunist campaign. He acted in good faith against what he truly believed was a malicious communist conspiracy within the government. But he started to make false accusations and claims completely disregarding the people and their constitutional rights.Government employees, the entertainment industry, educators, and union activists were the primary targets of McCarthy. Time after time McCarthy began to make false accusations and claims, disregarding the people and their constitutional rights. He wanted to make the communists know to the public so he televised the trials that degraded and humiliated these defendants. He ruined thousands of peoples lives in his quest for fame and notice. Americans praised him at first for being so brave but once they saw the consequences of what he was doing to these people they changed their views of him.

Wednesday, December 4, 2019

Ebonics In Schools Essay Example For Students

Ebonics In Schools Essay Ebonics in SchoolsMany black individuals have played their part in Americas history. Hasthe Oakland School gone too far by wanting to teach a black slang language inschool. In this paper, you will see the peoples, teachers, and the studentsopinion as well as the Senate. A lot of people are speaking out on the subject, especially actors. Arsenio Hall replied to reporters When I heard somebody from Oakland say theword genetic, on TV, I ran into the kitchen so I didnt have to be mad atanybody. James McDaniel of ABCs NYPD Blue and S. Epatha Merkerson of NBCsLaw and Order described the Oakland School Boards decision on Ebonics as adistinct genetically based language (Shister, p.1). Civil Rights leader JesseJackson defended Oaklands school over a controversial plan to recognize blackEnglish in the classroom (N.A., p.1). On December 18, 1996 the Oakland School Board approved a policy affirmingStandard American English language development for all students. This policycovers the effectiveness of the strategies that must be utilized to ensure thatevery child will achieve English language Proficiency (Hawkins, p.1). Thispolicy is based on the work of a broad-based Task-Force, convened six months agoto review the district-wide achievement data and to make recommendationsregarding the effective practices that will enhance the opportunity for allstudents to successfully achieve the standards of all students. The data showsthe low levels of the student performance and lack of students in the AdvancedPlacement Education Program. These recommendations focus on the unique languagestature of the African American Students (Shister, p.2). One of the programs recommended is the Standard English Proficiency Program,which is a state of California model program. Which promotes English-languagedevelopment for African-American students. The S.E.P. (Standard EnglishProficiency) training enables teachers and administrators to respect andacknowledge the history culture, and language that the African American studentbrings to school (Cambell, p.2). Recently a Superliteracy component was addedto ensure the development of high levels of reading, writing, and speakingskills. The policy further requires strengthening pre-school education andparent and community parcipitation in the education process of the District(Hawkins, p.1). In the following, there are findings on African Americans in school: 53%of the total Oakland Schools enrollment were black, 71% of the studentsenrolled in the Special Education were black, 37% of the students enrolled inGate classes were black, and the average Grade Point Average of blacks inschool was 1.80, which is the lowest in the District (Hawkins, p.2). Also, 64%of the students held back were African American, 71% of the African AmericanMales attended school on a regular basis, 19% of Senior African Americans didnot graduate, and 80% of all students suspended were black (Shister, p.2). While Ebonics rages as a hot topic in the spotlight of American media, socalled Black English has played a quiet role in an Atlanta area school districtfor more than a decade. About 600 students in the Dekalb School District justeast of Atlanta is taking a course known as bi-dialectal communication. InDekalb County Ebonics is not considered a language, but a dialect. Specifically,its appropriate for the classroom. The course focuses on more than just thenon-standard English of Ebonics. The students learn they must project,enunciate and gesture properly to communicate. This is the 11th year of thefederally funded bi-dialectal program. Administrators cite rising test scoresin language arts and reading as evidence that it works. Parents also seem toapprove. One parent said if they had something like that when she was growingup, she wouldve made it farther (Cambell, p.2). On the Internet, Ebonics isntnecessarily a black vs. white thing. Its more a matter of justice vs. joke. .u79d83cd5c7a47bcf64b6fbdef64bc207 , .u79d83cd5c7a47bcf64b6fbdef64bc207 .postImageUrl , .u79d83cd5c7a47bcf64b6fbdef64bc207 .centered-text-area { min-height: 80px; position: relative; } .u79d83cd5c7a47bcf64b6fbdef64bc207 , .u79d83cd5c7a47bcf64b6fbdef64bc207:hover , .u79d83cd5c7a47bcf64b6fbdef64bc207:visited , .u79d83cd5c7a47bcf64b6fbdef64bc207:active { border:0!important; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .clearfix:after { content: ""; display: table; clear: both; } .u79d83cd5c7a47bcf64b6fbdef64bc207 { display: block; transition: background-color 250ms; webkit-transition: background-color 250ms; width: 100%; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #95A5A6; } .u79d83cd5c7a47bcf64b6fbdef64bc207:active , .u79d83cd5c7a47bcf64b6fbdef64bc207:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; background-color: #2C3E50; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .centered-text-area { width: 100%; position: relative ; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .ctaText { border-bottom: 0 solid #fff; color: #2980B9; font-size: 16px; font-weight: bold; margin: 0; padding: 0; text-decoration: underline; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .postTitle { color: #FFFFFF; font-size: 16px; font-weight: 600; margin: 0; padding: 0; width: 100%; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .ctaButton { background-color: #7F8C8D!important; color: #2980B9; border: none; border-radius: 3px; box-shadow: none; font-size: 14px; font-weight: bold; line-height: 26px; moz-border-radius: 3px; text-align: center; text-decoration: none; text-shadow: none; width: 80px; min-height: 80px; background: url(https://artscolumbia.org/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png)no-repeat; position: absolute; right: 0; top: 0; } .u79d83cd5c7a47bcf64b6fbdef64bc207:hover .ctaButton { background-color: #34495E!important; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .centered-text { display: table; height: 80px; padding-left : 18px; top: 0; } .u79d83cd5c7a47bcf64b6fbdef64bc207 .u79d83cd5c7a47bcf64b6fbdef64bc207-content { display: table-cell; margin: 0; padding: 0; padding-right: 108px; position: relative; vertical-align: middle; width: 100%; } .u79d83cd5c7a47bcf64b6fbdef64bc207:after { content: ""; display: block; clear: both; } READ: Mercutio's 'Queen Mab' Speech EssayShould Ebonics be considered a second language requiring special treatment byschool teachers, or is it merely a different form of English, to be correctedbut not accommodated. The debate has played out on the editorial pages, TVshows and talk radio across America, but for several reasons, its a subjectperfectly suited for the Internet. For 1 thing, the Nets anonymity can cloakyour racial background or identity, loosening tight stereotypes. For another,you can find a virtual community that matches your take in the issue. On theWorld Wide Web, you can read tightly reasoned analyses of black history andlisten to people making cruel fun of th e whole issue through such rewrittenworks. Some sites offer to translate e-mail messages into Ebonics. But theliveliest Internet offerings have to do with the back-and-forth discussions,whether via news groups or web chat pages. Sheila Green has cited studiessupporting the validity of the schoolboards approach in several newsgroup posts. The Ebonics debate has served to highlight a growing number of online servicesfocusing on black cultural prospective (Boyle, p.1). Oaklands School Superintendent Carolyn Getridge, School Board PresidentJean Quan, and board member Toni Cook are going to testify before the Senate. They will speak about the districts recent decision to recognize Ebonics in theclassroom. Other witnesses scheduled to testify at the hearing include RobertWilliams, originator of the term Ebonics and Amos Brown of the Civil RightsCommission of the National Baptist Convention (N.A., p.1). The national debateon Ebonics reached Capitol Hill January 23, 1996 as a Senate subcommittee tookup the provocative question of whether using African American dialect can helpblack children learn Standard English, and whether it deserves Federal support. The hearing began on a combative note. Senator Lauch Faircloth denouncedEbonics as absurd and said that the Oakland school boards decision to haveteachers recognize it in classes struck him. But Oakland school officials,joined by Rep. Maxine Waters adamantly defended the Ebonics policy and insistedthat it had been misinterpreted as an attempt to lead students away fromStandard English. School officials said they simply want Oakland teachers todevote more time to students who rely on black English and help them betterunderstand the difference between their language patterns and standard English. Many other schools are trying to teach Ebonics such as San Diego and Los Angeles,who are considering on creating plans to teach it (Shanchez, p.1). The controversy is still going on in Capitol Hill and has not been resolvedyet. The solution may come soon. Or it may be a long time from now. Eitherway some people will be upset with the final decision.